64 bit Cygwin target and _WIN64

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Jul 18 15:12:00 GMT 2012

On Jul 18 17:09, Corinna Vinschen wrote:
> Mingw64 has already a header called _cygwin.h which is indirectly
> included if a Cygwin project includes any Windows header.  It's no
> problem to add
>   #ifdef __CYGWIN64__

or, FWIW,

    #ifdef __x86_64__
>   #define _WIN64
>   #endif


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

More information about the Cygwin-developers mailing list