| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| X-Authentication-Warning: | homer.pentek.org: charles set sender to charles AT pentek DOT com using -f |
| Date: | Fri, 14 Jun 2002 09:06:26 -0400 |
| From: | Charles Krug <charles AT pentek DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Question about GCC predefined symbols |
| Message-ID: | <20020614130626.GA21178@pentek.com> |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <003201c21325$e6977b00$500210ac AT fortunet> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <003201c21325$e6977b00$500210ac@fortunet> |
| User-Agent: | Mutt/1.4i |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |