From 8d8a209d8be23cc877e5799effdc738cb7a1fb58 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 9 May 2002 11:40:52 +0000 Subject: [PATCH] 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] --- include/boost/regex/config.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/boost/regex/config.hpp b/include/boost/regex/config.hpp index 34ce6b01..2ca3cbd5 100644 --- a/include/boost/regex/config.hpp +++ b/include/boost/regex/config.hpp @@ -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