diff --git a/config.h b/config.h index b92f1d16..fc947d58 100644 --- a/config.h +++ b/config.h @@ -621,7 +621,11 @@ NAMESPACE_END //#else //# define CRYPTOPP_CONSTANT(x) static const int x; //#endif -#define CRYPTOPP_CONSTANT(x) enum {x}; +#if defined(CRYPTOPP_DOXYGEN_PROCESSING) +# define CRYPTOPP_CONSTANT(x) static const int x; +#else +# define CRYPTOPP_CONSTANT(x) enum {x}; +#endif // ***************** Initialization and Constructor priorities ********************