delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/04/01/05:27:42

Date: Fri, 01 Apr 1994 04:57:37 -0500 (EST)
From: "Wonkoo Kim, EE, U. of Pittsburgh" <WKIM AT vms DOT cis DOT pitt DOT edu>
Subject: unique predefined macro symbol of djgpp?
To: djgpp AT sun DOT soe DOT clarkson DOT edu

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019