This is the mail archive of the
mailing list for the Cygwin project.
Re: gcc/Cygwin awareness
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.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html