diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-08-06 06:06:19 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-08-06 06:06:19 -0400 |
commit | 3af3054e8717381acb8d65b0894ec864f8769c76 (patch) | |
tree | 5850ed59855bf7769603429fd4e6069a12bc6d7a /config_cxx.h | |
parent | 0d85286410202b559d0f6156041eb991089b46d6 (diff) | |
download | cryptopp-git-3af3054e8717381acb8d65b0894ec864f8769c76.tar.gz |
Use CRYPTOPP_CXX17_UNCAUGHT_EXCEPTIONS define name
Diffstat (limited to 'config_cxx.h')
-rw-r--r-- | config_cxx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config_cxx.h b/config_cxx.h index 4aa01bec..daa84054 100644 --- a/config_cxx.h +++ b/config_cxx.h @@ -213,12 +213,12 @@ #if defined(__clang__)
# if __EXCEPTIONS && __has_feature(cxx_exceptions)
# if __cpp_lib_uncaught_exceptions
-# define CRYPTOPP_CXX17_EXCEPTIONS 1
+# define CRYPTOPP_CXX17_UNCAUGHT_EXCEPTIONS 1
# endif
# endif
#elif (CRYPTOPP_MSC_VERSION >= 1900) || (__INTEL_COMPILER >= 1800) || \
(CRYPTOPP_GCC_VERSION >= 60000) || (__cpp_lib_uncaught_exceptions)
-# define CRYPTOPP_CXX17_EXCEPTIONS 1
+# define CRYPTOPP_CXX17_UNCAUGHT_EXCEPTIONS 1
#endif // uncaught_exceptions compilers
#endif // CRYPTOPP_CXX17
|