forked from HowardHinnant/date
Change default on C++17 to uncaught_exceptions
* By popular demand. * If you need to undo this change, compile with -DHAS_UNCAUGHT_EXCEPTIONS=0.
This commit is contained in:
@ -136,7 +136,7 @@ namespace date
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAS_UNCAUGHT_EXCEPTIONS
|
#ifndef HAS_UNCAUGHT_EXCEPTIONS
|
||||||
# if __cplusplus > 201703 || (defined(_MSVC_LANG) && _MSVC_LANG > 201703L)
|
# if __cplusplus >= 201703 || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L)
|
||||||
# define HAS_UNCAUGHT_EXCEPTIONS 1
|
# define HAS_UNCAUGHT_EXCEPTIONS 1
|
||||||
# else
|
# else
|
||||||
# define HAS_UNCAUGHT_EXCEPTIONS 0
|
# define HAS_UNCAUGHT_EXCEPTIONS 0
|
||||||
|
Reference in New Issue
Block a user