Date: Tue, 14 Sep 93 09:02:53 -0400 From: DJ Delorie To: davis AT pacific DOT mps DOT ohio-state DOT edu Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: FAQ: How to identify GCC under DOS. > I have an application that runs on various OS, e.g., VMS, Unix (Linux, > Ultrix,...) and MSDOS. It seems that DJGPP gcc defines both i386 and unix. > Linux also defines these. Is there a preprocessor symbol that uniquely > specifies DJGPP gcc under MSDOS? The correct symbol to use in this case is __GO32__ which is only defined for djgpp (go32.exe) and no other compiler.