From: "Alex Vinokur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro demo compilation Date: Tue, 6 Aug 2002 08:56:27 +0200 Organization: Scopus Lines: 45 Message-ID: References: <1028307963 DOT 378240 AT queeg DOT ludd DOT luth DOT se> <1028398716 DOT 710521 AT queeg DOT ludd DOT luth DOT se> <1028476193 DOT 984195 AT queeg DOT ludd DOT luth DOT se> NNTP-Posting-Host: gateway.scopus.net (62.90.123.5) X-Trace: fu-berlin.de 1028613226 39970771 62.90.123.5 (16 [79865]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Martin Stromberg" wrote in message news:aim14t$sht$1 AT antares DOT lu DOT erisoft DOT se... > Alex Vinokur (alexvn AT bigfoot DOT com) wrote: > > : > --- include/sys/djtypes.h~1 Tue Dec 14 06:56:16 1999 > : > +++ include/sys/djtypes.h Mon Feb 4 16:20:40 2002 > : > @@ -12,7 +12,12 @@ > : > #define __DJ_ssize_t typedef int ssize_t; > : > #define __DJ_time_t typedef unsigned int time_t; > : > #define __DJ_uid_t typedef int uid_t; > : > + > : > +#if __GNUC__>=3 > : > +#define __DJ_va_list typedef __builtin_va_list va_list; > : > +#else > : > #define __DJ_va_list typedef void *va_list; > : > +#endif > : > > : > #if defined(__cplusplus) && ( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 ) > : > /* wchar_t is now a keyword in C++ */ > : > > > : It seems that '#endif' is missing at the end of this piece of the code, i.e. must be as following : > > No. It's a patch. > > > Right, You are right indeed. The '+' symbol is missing at the beginnig of the '#if defined ...' line. > > MartinS Thanks, ==================== Alex Vinokur http://up.to/alexvn http://go.to/alexv_math mailto:alexvn AT bigfoot DOT com mailto:alexvn AT go DOT to ====================