aboutsummaryrefslogtreecommitdiff
path: root/libbutl/regex.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-04-13 14:54:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-04-13 14:54:50 +0200
commit53e82a43a563992986c50089f6af765fa5cff526 (patch)
tree80a095091956437cd7dd9d6a893009dcfe456fff /libbutl/regex.cxx
parent26efe301f4a7b7e4bf97b0d3468037b7e259e1db (diff)
Add workarounds for VC15u7
Diffstat (limited to 'libbutl/regex.cxx')
-rw-r--r--libbutl/regex.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbutl/regex.cxx b/libbutl/regex.cxx
index 6f7fad6..a48102a 100644
--- a/libbutl/regex.cxx
+++ b/libbutl/regex.cxx
@@ -15,7 +15,7 @@
#include <ostream>
#include <sstream>
#include <stdexcept> // runtime_error
-#if defined(_MSC_VER) && _MSC_VER <= 1913
+#if defined(_MSC_VER) && _MSC_VER <= 1914
# include <cstring> // strstr()
#endif
#endif
@@ -52,7 +52,7 @@ namespace std
{
const char* d (e.what ());
-#if defined(_MSC_VER) && _MSC_VER <= 1913
+#if defined(_MSC_VER) && _MSC_VER <= 1914
// Note: run the regex test like this to check new VC version:
//
// ./driver.exe a '{' b