Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <002e01c2896d$ca899510$0a01a8c0@athlon> From: "Eric Belhomme" To: , "Eric Belhomme" , References: <20021110192754 DOT 9C6662CA74 AT inet1 DOT ywave DOT com> Subject: Re: how-to use _WIN32 preprocessor with cygwin ? Date: Mon, 11 Nov 2002 11:33:35 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-AntiVirus: checked by AntiVir MailGate (version: 2.0.1.6; AVE: 6.16.0.0; VDF: 6.16.0.15; host: hole) > 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 ? Thanks, -- Eric Belhomme -- 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/