Hi folks,

Is there a macro defined in gcc when running under Cygwin as opposed to, say, linux?

I'd like to code something like

#ifdef _GCC_UNDER_CYGWIN
blah blah
#else
blah blah
#endif

This is to get around the fact that Cygwin doesn't provide the libgen.h header file, which I need to build uClibc for this cross-platform project I'm doing.

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/



Reply via email to