Web lists-archives.com

Re: Why is __unix__ defined, and not __WINDOWS__ ?




On Sun, 12 May 2019 13:33:30, Mike Gran via cygwin"  wrote:
[snip]

> I think these days the canonical defines are (somebody correct me if
> I'm wrong)
> 
>   __CYGWIN__ for Cygwin
> 
>   _WIN32 as 1 on MinGW when the compilation target is Windows 32-bit
>   ARM, 64-bit ARM, x86, or x64. Otherwise, undefined.
> 
>   _WIN64 as 1 on MinGW when the compilation target is Windows 64-bit
>   ARM or x64. Otherwise, undefined

https://sourceforge.net/p/predef/wiki/Home/

=====


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple