From d695b70ee933a962b9ff3ee6aa73331a1f7c514a Mon Sep 17 00:00:00 2001 From: John Maddock Date: Wed, 30 Jul 2003 12:15:45 +0000 Subject: [PATCH] Added check to prevent macro redeffinition [SVN r19360] --- include/boost/regex/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/regex/config.hpp b/include/boost/regex/config.hpp index 5cdaedf9..806ead59 100644 --- a/include/boost/regex/config.hpp +++ b/include/boost/regex/config.hpp @@ -114,7 +114,7 @@ // If Win32 support has been disabled for boost in general, then // it is for regex in particular: // -#ifdef BOOST_DISABLE_WIN32 +#if defined(BOOST_DISABLE_WIN32) && !defined(BOOST_REGEX_NO_W32) # define BOOST_REGEX_NO_W32 #endif