Question about GCC predefined symbols

Charles Krug charles@pentek.com
Fri Jun 14 11:40:00 GMT 2002


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/



More information about the Cygwin mailing list