diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-03-13 00:38:34 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-03-13 13:58:03 +0300 |
commit | a82ec3c21ac680e5bf9614bdcf50ea78a52542ce (patch) | |
tree | 343ac89888ac8e4eca5899d0cec7f2cb512aee64 /libbutl/regex.cxx | |
parent | 83ee2939cb9b6766bbf0df60347be2da6d6f0adf (diff) |
Add workarounds for all cl releases until 20.00
Diffstat (limited to 'libbutl/regex.cxx')
-rw-r--r-- | libbutl/regex.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbutl/regex.cxx b/libbutl/regex.cxx index f988193..ab32693 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 < 1920 +#if defined(_MSC_VER) && _MSC_VER < 2000 # include <cstring> // strstr() #endif #endif @@ -52,7 +52,7 @@ namespace std { const char* d (e.what ()); -#if defined(_MSC_VER) && _MSC_VER < 1920 +#if defined(_MSC_VER) && _MSC_VER < 2000 // Note: run the regex test like this to check new VC version: // // ./driver.exe a '{' b |