summaryrefslogtreecommitdiff
path: root/config_cxx.h
diff options
context:
space:
mode:
Diffstat (limited to 'config_cxx.h')
-rw-r--r--config_cxx.h4
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