UN*X defines (WAS: RE: CygUtils Version of zip (and Symlinks))

Parker, Ron rdparker@butlermfg.com
Fri May 26 09:51:00 GMT 2000


> touch empty.c
> gcc -c empty.c -E -dM 
> 
> on a unix system.
> 
> Hmm...  I just tried this on HPUX with a self built gcc and I 
> get unix, __unix
> and __unix__.  Now this is what I was after.  Those who have 
> linux running, is
> there anything else of interest?

Only a __linux, but I have no personal desire to add it.  IMO it just
specifies a the variant of UNIX and cygwin is not Linux, although I realize
there is a desire to be as Linux-like as possible.



More information about the Cygwin mailing list