delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/11/09:04:08

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
From: Tim Prince <tprince AT computer DOT org>
Reply-To: tprince AT computer DOT org
To: "Eric Belhomme" <rico AT ricospirit DOT net>,
"Eric Belhomme" <eric DOT belhomme AT free DOT fr>, <cygwin AT cygwin DOT com>
Subject: Re: how-to use _WIN32 preprocessor with cygwin ?
Date: Mon, 11 Nov 2002 06:03:47 -0800
References: <Xns92C2C61BC83D7ericbelhommefreefr AT 80 DOT 91 DOT 224 DOT 249> <20021110192754 DOT 9C6662CA74 AT inet1 DOT ywave DOT com> <002e01c2896d$ca899510$0a01a8c0 AT athlon>
In-Reply-To: <002e01c2896d$ca899510$0a01a8c0@athlon>
MIME-Version: 1.0
Message-Id: <20021111140349.E2B3E2CB0F@inet1.ywave.com>

On Monday 11 November 2002 02:33, Eric Belhomme wrote:
> > The cygwin-specific gcc compile flag -mwin32 causes the _WIN32 macro to
> > be defined.  Certain cygwin applications predate that arrangement, so
>
> confusion
>
> > is understandable.
>
> Thanks for your answer :-)
> So I wonder I have  to modify the configure script to add -mwin32 flag on
> gcc option if I detect cygwin environment. Question : How to detect cygwin
> environment ?
Often done by the uname command, as on other Unixish systems
-- 
Tim Prince

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019