Conditionally set _SILENCE_CXX17_UNCAUGHT_EXCEPTION_DEPRECATION_WARNING
This commit is contained in:
1 parent
44215f6781
commit
a029f1105d
1 file changed
+3
-1
+3
-1
@@ -96,7 +96,9 @@ namespace date
|
||||
|
||||
#if defined(_MSC_VER) && (!defined(__clang__) || (_MSC_VER < 1910))
|
||||
// MSVC
|
||||
# define _SILENCE_CXX17_UNCAUGHT_EXCEPTION_DEPRECATION_WARNING
|
||||
# ifndef _SILENCE_CXX17_UNCAUGHT_EXCEPTION_DEPRECATION_WARNING
|
||||
# define _SILENCE_CXX17_UNCAUGHT_EXCEPTION_DEPRECATION_WARNING
|
||||
# endf
|
||||
# if _MSC_VER < 1910
|
||||
// before VS2017
|
||||
# define CONSTDATA const
|
||||
|
||||
Reference in new issue
Block a user