diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-02-15 09:15:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-02-15 09:15:29 +0200 |
commit | 6de99f12296450de77d755984d6eab80a8480661 (patch) | |
tree | 76abb19bfcf3ff79f3622b89bd7bdf8d515f381d | |
parent | 62adfcd24d2b5b92fdb6627a7b5b0471b300f923 (diff) |
Add support for VC15u6
-rw-r--r-- | libbutl/regex.cxx | 4 | ||||
-rw-r--r-- | tests/base64/driver.cxx | 2 | ||||
-rw-r--r-- | tests/timestamp/driver.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/libbutl/regex.cxx b/libbutl/regex.cxx index e4fd009..6f7fad6 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 <= 1912 +#if defined(_MSC_VER) && _MSC_VER <= 1913 # include <cstring> // strstr() #endif #endif @@ -52,7 +52,7 @@ namespace std { const char* d (e.what ()); -#if defined(_MSC_VER) && _MSC_VER <= 1912 +#if defined(_MSC_VER) && _MSC_VER <= 1913 // Note: run the regex test like this to check new VC version: // // ./driver.exe a '{' b diff --git a/tests/base64/driver.cxx b/tests/base64/driver.cxx index 195eaf0..1aa5b42 100644 --- a/tests/base64/driver.cxx +++ b/tests/base64/driver.cxx @@ -40,7 +40,7 @@ encode (const string& i, const string& o) // VC15 seekg() doesn't clear eofbit. // -#if defined(_MSC_VER) && _MSC_VER <= 1912 +#if defined(_MSC_VER) && _MSC_VER <= 1913 is.clear (); #endif diff --git a/tests/timestamp/driver.cxx b/tests/timestamp/driver.cxx index cdaaaec..e447e18 100644 --- a/tests/timestamp/driver.cxx +++ b/tests/timestamp/driver.cxx @@ -133,7 +133,7 @@ main () // "Apr 19:31:10 2016" for the format "%b %d %H:%M:%S %Y" as if the input were // "Apr 19 00:31:10 2016". // -#if !defined(_MSC_VER) || _MSC_VER > 1912 +#if !defined(_MSC_VER) || _MSC_VER > 1913 assert (fail ("Apr 19:31:10 2016", "%b %d %H:%M:%S %Y")); assert (fail (":31 2016", "%H:%M %Y")); #endif |