From 00ebc78c1d5dbbf20abd89e6799027940bae8856 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Tue, 17 Apr 2018 14:45:37 +0100 Subject: [PATCH] fix #if in assertions.h --- STL_Extension/include/CGAL/assertions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/STL_Extension/include/CGAL/assertions.h b/STL_Extension/include/CGAL/assertions.h index 777b61fdcb3..dba0ec0aaef 100644 --- a/STL_Extension/include/CGAL/assertions.h +++ b/STL_Extension/include/CGAL/assertions.h @@ -100,7 +100,7 @@ inline bool possibly(Uncertain c); #else // no CGAL_NO_ASSERTIONS # define CGAL_assertion(EX) \ (CGAL::possibly(EX)?(static_cast(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__)) -# if __cpp_lib_uncaught_exceptions || ( _MSVC_LANG >= 201103L ) // C++17 +# if __cpp_lib_uncaught_exceptions || ( _MSVC_LANG >= 201703L ) // C++17 # define CGAL_destructor_assertion(EX) \ (CGAL::possibly(EX)||(std::uncaught_exceptions() > 0)?(static_cast(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__)) # else // use C++03 `std::uncaught_exception()`