summaryrefslogtreecommitdiff
path: root/config_misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'config_misc.h')
-rw-r--r--config_misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config_misc.h b/config_misc.h
index 54bf3104..e6ae3df8 100644
--- a/config_misc.h
+++ b/config_misc.h
@@ -146,7 +146,7 @@
#if defined(CRYPTOPP_DOXYGEN_PROCESSING)
# define CRYPTOPP_CONSTANT(x) static const int x
-#elif defined(CRYPTOPP_CXX11_ENUM)
+#elif defined(CRYPTOPP_CXX11_STRONG_ENUM)
# define CRYPTOPP_CONSTANT(x) enum : int { x }
#elif defined(CRYPTOPP_CXX11_CONSTEXPR)
# define CRYPTOPP_CONSTANT(x) constexpr static int x