From 7129383fde53ab1d74b43f31ed67d50674839f08 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 18 May 2018 14:43:54 +0300 Subject: Add workarounds for all releases of VC15 --- libbutl/regex.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbutl/regex.cxx') diff --git a/libbutl/regex.cxx b/libbutl/regex.cxx index a48102a..90374cd 100644 --- a/libbutl/regex.cxx +++ b/libbutl/regex.cxx @@ -15,7 +15,7 @@ #include #include #include // runtime_error -#if defined(_MSC_VER) && _MSC_VER <= 1914 +#if defined(_MSC_VER) && _MSC_VER < 1920 # include // strstr() #endif #endif @@ -52,7 +52,7 @@ namespace std { const char* d (e.what ()); -#if defined(_MSC_VER) && _MSC_VER <= 1914 +#if defined(_MSC_VER) && _MSC_VER < 1920 // Note: run the regex test like this to check new VC version: // // ./driver.exe a '{' b -- cgit v1.1