mirror of
https://github.com/HowardHinnant/date.git
synced 2025-01-14 17:58:03 +08:00
Conditionally set _SILENCE_CXX17_UNCAUGHT_EXCEPTION_DEPRECATION_WARNING
This commit is contained in:
parent
44215f6781
commit
a029f1105d
@ -96,7 +96,9 @@ namespace date
|
|||||||
|
|
||||||
#if defined(_MSC_VER) && (!defined(__clang__) || (_MSC_VER < 1910))
|
#if defined(_MSC_VER) && (!defined(__clang__) || (_MSC_VER < 1910))
|
||||||
// MSVC
|
// 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
|
# if _MSC_VER < 1910
|
||||||
// before VS2017
|
// before VS2017
|
||||||
# define CONSTDATA const
|
# define CONSTDATA const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user