Boost logo

Boost :

Subject: Re: [boost] mingw and windows.h
From: Marcel Raad (Marcel.Raad_at_[hidden])
Date: 2018-01-18 08:18:53


> -----Original Message-----
> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Raffi
> Enficiaud via Boost
> Sent: Donnerstag, 18. Januar 2018 08:49
> To: boost_at_[hidden]
> Cc: Raffi Enficiaud <raffi.enficiaud_at_[hidden]>
> Subject: Re: [boost] mingw and windows.h
>
> I guess that using the macro __MINGW32__ is the way to fix
> those issues, right?

That would detect both original MinGW and MinGW-w64, you probably want a workaround for only mingw.org MinGW.
Boost.Predef distinguishes between the two:
https://github.com/boostorg/predef/commit/7c17b932e4ac9d33272c91cfb45d7cff994f0c32

Marcel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk