|
From: | Riccardo Mottola |
Subject: | Re: Building patch for MSYS2/MINGW32 |
Date: | Tue, 1 Mar 2016 16:41:24 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 |
Hi, Richard Frith-Macdonald wrote:
Judging by what I can find with web searches, it seems that all the modern popular compilers define _WIN32 on ms-windows (and presumably _WIN64 if the system is 64bit). Have my searches told me wrong?
I think MINGW32 and WIN32 are actually slighly different things, aren't they?
Wherever I looked for, it seems that __MINGW32__ should be safe to detect a generic MSYS environment. We shouldn't pollute certain Windows things, since we could also use CYGWIN which I suppose still has WIN32.
http://mingw.5.n7.nabble.com/Macros-MINGW32-AND-MINGW64-td26319.html Riccardo
[Prev in Thread] | Current Thread | [Next in Thread] |