From f1d2d15604c173288615c34400e4aa4ee430ed06 Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Fri, 13 Jan 2017 13:58:03 +0100 Subject: [PATCH] Suppress warning also for VS2017 The warning suppression for Visual Studio 2015 is also needed for Visual Studio 2017 (_MSC_VER = 1910). --- wait.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wait.h b/wait.h index 83b4012d..fee768d2 100644 --- a/wait.h +++ b/wait.h @@ -34,7 +34,7 @@ // http://connect.microsoft.com/VisualStudio/feedback/details/1581706 // and http://github.com/weidai11/cryptopp/issues/214 -#if CRYPTOPP_MSC_VERSION == 1900 +#if (CRYPTOPP_MSC_VERSION >= 1900) && (CRYPTOPP_MSC_VERSION < 2000) # pragma warning(push) # pragma warning(disable: 4589) #endif @@ -226,7 +226,7 @@ private: NAMESPACE_END -#if CRYPTOPP_MSC_VERSION == 1900 +#if (CRYPTOPP_MSC_VERSION >= 1900) && (CRYPTOPP_MSC_VERSION < 2000) # pragma warning(pop) #endif