aboutsummaryrefslogtreecommitdiff
path: root/libbutl/regex.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-07-21 18:37:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-07-21 18:37:26 +0200
commit1ca5fe05c20c9c11d4c77cdbc0f120ff18373371 (patch)
tree000b03d6576881c70d3a4db81380c7f1f4cf63c1 /libbutl/regex.cxx
parentdf2c5fcf20189750119a94ca8b91f92f5d65d758 (diff)
Extend VC workarounds to version 19.11
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 4e2e26f..a177a74 100644
--- a/libbutl/regex.cxx
+++ b/libbutl/regex.cxx
@@ -4,7 +4,7 @@
#include <libbutl/regex.hxx>
-#if defined(_MSC_VER) && _MSC_VER <= 1910
+#if defined(_MSC_VER) && _MSC_VER <= 1911
# include <cstring> // strstr()
#endif
@@ -27,7 +27,7 @@ namespace std
{
const char* d (e.what ());
-#if defined(_MSC_VER) && _MSC_VER <= 1910
+#if defined(_MSC_VER) && _MSC_VER <= 1911
const char* rd (strstr (d, "): "));
if (rd != nullptr)
d = rd + 3;