This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: how-to use _WIN32 preprocessor with cygwin ?
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/