This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
gcc/Cygwin awareness
- From: John Williams <jwilliams at itee dot uq dot edu dot au>
- To: cygwin at cygwin dot com
- Date: Mon, 31 Mar 2003 12:58:05 +1000
- Subject: gcc/Cygwin awareness
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/