delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/07/21/03:25:41

Message-ID: <3977FBFB.D643387C@softhome.net>
Date: Fri, 21 Jul 2000 09:30:03 +0200
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: Mozilla 4.73 [en] (Win98; U)
X-Accept-Language: lt,en
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: djgpp-workers AT delorie DOT com
Subject: Re: <stdarg.h> matters
References: <39774EA5 DOT 7AA0AE0F AT softhome DOT net> <200007210639 DOT IAA27173 AT mailgw3 DOT netvision DOT net DOT il>
Reply-To: djgpp-workers AT delorie DOT com

Eli Zaretskii wrote:
> > #define __need___va_list
> > #include <stdarg.h>
> > #ifndef _VA_LIST_
> > typedef __gnuc_va_list va_list
> > #define _VA_LIST
> > #endif
> 
> I don't understand the last part of it--the one conditioned on
> _VA_LIST.  Could you please explain what problem(s) is it meant to
> solve?

It's a multiple redefinition guard. _VA_LIST_ is one of the names recognized
in <stdarg.h> from GCC.

Laurynas

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019