Added user-config macro BOOST_DISABLE_WIN32

(also set in the compiler 's strict mode).
Modified Boost source not to use Win32 specific
extentions in the presence of BOOST_DISABLE_WIN32.


[SVN r13771]
This commit is contained in:
John Maddock
2002-05-09 11:40:52 +00:00
parent 6b75e3962d
commit 8d8a209d8b

View File

@ -137,6 +137,14 @@
#endif
//
// If Win32 support has been disabled for boost in general, then
// it is for regex in particular:
//
#ifdef BOOST_DISABLE_WIN32
# define BOOST_REGEX_NO_W32
#endif
// some versions of gcc can't merge template instances:
#if defined(__CYGWIN__)
# define BOOST_REGEX_NO_TEMPLATE_SWITCH_MERGE