This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Question about GCC predefined symbols
- From: Charles Krug <charles at pentek dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 14 Jun 2002 09:06:26 -0400
- Subject: Re: Question about GCC predefined symbols
- References: <003201c21325$e6977b00$500210ac@fortunet>
On Thu, Jun 13, 2002 at 03:01:42PM -0700, Jim wrote:
> Was wondering - is there a pre-defined symbol which gcc will define when
> running the cygwin environment? maybe __CYGWIN__ or something?
>
I believe __CYGWIN__ is what you're after. Be careful though: Some
older contributed ports used other symbols, which subsequently went
away.
I had ported mutt before it became mainstream. The version from the
mutt mirrors had various other forms, none of which turned out even to
be necessary with the options I used.
--
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/