[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building patch for MSYS2/MINGW32
From: |
Richard Frith-Macdonald |
Subject: |
Re: Building patch for MSYS2/MINGW32 |
Date: |
Tue, 01 Mar 2016 15:59:36 +0000 |
> On 1 Mar 2016, at 15:41, Riccardo Mottola <address@hidden> wrote:
>
> 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?
Yes, I was specifically looking for a define to tell us we are on windows,
rather than one telling us we are using MSYS.
That's mostly because David and others have recently suggested the possibility
of building ObjC code using the microsoft compiler.
I think most of the windows-specific code we have is not really msys/mingw
specific, so we should propbably be reserving the use of __MINGW... for places
where it makes a difference.