This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question about GCC predefined symbols


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]