Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-09-21 22:33:43


Simon Buchan wrote:
> Jonathan Turkanis wrote:
>> Hi,
>>
>> 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?

> Some cross-compilers, I think, depending on the configuration.

Thanks, I didn't think of that.

> Probably only historical reasons now.

--
Jonathan Turkanis
www.kangaroologic.com

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