summaryrefslogtreecommitdiff
path: root/boost/regex/config.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/regex/config.hpp')
-rw-r--r--boost/regex/config.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/regex/config.hpp b/boost/regex/config.hpp
index 589b1e3a4f..eb998110bf 100644
--- a/boost/regex/config.hpp
+++ b/boost/regex/config.hpp
@@ -163,7 +163,7 @@
# define BOOST_REGEX_NO_LIB
#endif
-#if defined(__GNUC__) && (defined(_WIN32) || defined(__CYGWIN__))
+#if defined(__GNUC__) && !defined(_MSC_VER) && (defined(_WIN32) || defined(__CYGWIN__))
/* gcc on win32 has problems if you include <windows.h>
(sporadically generates bad code). */
# define BOOST_REGEX_NO_W32