From 245c256b1ca36c7be506d23f15794ab5c7a6cc35 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Hugo=20Lindstr=C3=B6m?= Date: Fri, 12 Jul 2019 19:01:47 +0200 Subject: [PATCH] Support compiliation for <=VS13 --- modules/core/include/opencv2/core/cvdef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/include/opencv2/core/cvdef.h b/modules/core/include/opencv2/core/cvdef.h index 4d9b797..079f24c 100644 --- a/modules/core/include/opencv2/core/cvdef.h +++ b/modules/core/include/opencv2/core/cvdef.h @@ -627,7 +627,7 @@ Cv64suf; \****************************************************************************************/ #ifndef CV_NOEXCEPT -# ifdef CV_CXX11 +# if defined(CV_CXX11) && (!defined(_MSC_VER) || _MSC_VER > 1800) /* MSVC 2015 and above */ # define CV_NOEXCEPT noexcept # endif #endif -- 2.7.4