Regex: Apply fix for clang on Windows, see: https://github.com/boostorg/regex/issues/44

This commit is contained in:
jzmaddock
2017-10-26 18:05:36 +01:00
parent f949e55e9c
commit 0c938cd9ff

View File

@ -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