Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-09-22 10:50:16


John Maddock wrote:
>> The header <boost/config/select_platform_config.hpp> contains the
>> lines
>>
>> #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
>> // win32:
>> # define BOOST_PLATFORM_CONFIG "boost/config/platform/win32.hpp"
>>
>> Does anyone know why it's necessary to test __WIN32__ and WIN32? A
>> quick test
>> showed that vc6-7.1, cw8-9.4, como 4.3.3, gcc 3.4.2 (minGW), dmc, bcc
>> 5.6.4, and
>> intel 7.1-8.0 all define _WIN32. What's left over?
>
> Borland.

Right, I forgot to mention it. But I also tested it (5.6.4) and it defines
_WIN32 too.

> John.

Jonathan


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