From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro demo compilation Date: 5 Aug 2002 14:12:45 GMT Organization: Ericsson Erisoft AB, Sweden Lines: 27 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: lws256.lu.erisoft.se X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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, MartinS