delorie.com/archives/browse.cgi | search |
Message-Id: | <200007210901.MAA22457@mailgw1.netvision.net.il> |
Date: | Fri, 21 Jul 2000 12:01:26 +0200 |
To: | lauras AT softhome DOT net |
X-Mailer: | Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b |
From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
CC: | djgpp-workers AT delorie DOT com |
In-reply-to: | <3977FBFB.D643387C@softhome.net> (message from Laurynas Biveinis |
on Fri, 21 Jul 2000 09:30:03 +0200) | |
Subject: | Re: <stdarg.h> matters |
References: | <39774EA5 DOT 7AA0AE0F AT softhome DOT net> <200007210639 DOT IAA27173 AT mailgw3 DOT netvision DOT net DOT il> <3977FBFB DOT D643387C AT softhome DOT net> |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> Date: Fri, 21 Jul 2000 09:30:03 +0200 > From: Laurynas Biveinis <lauras AT softhome DOT net> > > 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. I assume it protects the typedef, yes? If so, won't that be solved by the #ifndef which guards the entire header where you want to put this? Or do other headers include the same typedef?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |