
22 Sep
2005
22 Sep
'05
3:33 a.m.
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