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" 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: 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 Precedence: bulk > Date: Fri, 21 Jul 2000 09:30:03 +0200 > From: Laurynas Biveinis > > Eli Zaretskii wrote: > > > #define __need___va_list > > > #include > > > #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 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?