Mail Archives: djgpp/1994/04/01/05:27:42
Hi.
Is there a predefined macro symbol that is unique to djgpp?
I know the symbols of __GNUC__ and __MSDOS__ are defined in djgpp, but these
symbols are not unique to djgpp.
__GNUC__ is defined by gcc, but there are other ports of gcc like emx/gcc,
and __MSDOS__ is also defined by many other msdos C compilers.
All compilers that I have tried had their unique predefined macro names, but
I don't know djgpp's.
(I've been doing in a stupid(?) way; put djgpp stuff at the last part,
#if .. #elif .. #elif .. .. .. .. #else [djgpp stuff] #endif
I am too lazy to define a symbol for djgpp in makefile. :)
Thanks.
Wonkoo Kim
wkim AT vms DOT cis DOT pitt DOT edu
- Raw text -