From 0c938cd9ffe5734c6550655063166ae940b6bb3c Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Thu, 26 Oct 2017 18:05:36 +0100 Subject: [PATCH] Regex: Apply fix for clang on Windows, see: https://github.com/boostorg/regex/issues/44 --- 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 589b1e3a..eb998110 100644 --- a/include/boost/regex/config.hpp +++ b/include/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 (sporadically generates bad code). */ # define BOOST_REGEX_NO_W32