gcc/Cygwin awareness

John Williams jwilliams@itee.uq.edu.au
Mon Mar 31 07:39:00 GMT 2003


Elfyn McBratney wrote:
> You could use this
> 
> #if defined(__GNUC__) && defined(__CYGWIN__)

So __CYGWIN__ is defined in the preprocessor environment when compiling 
under Cygwin?  That's precisely what I'm after, thanks.

John



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list