From d01467b754e5b54840ac757258c23c873e41affd Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 4 Dec 2016 16:07:10 -0500 Subject: [PATCH] Use 'static const int' for constants in Doxygen documentation (Issue 343) --- config.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config.h b/config.h index 12a9eec2..04748ce3 100644 --- a/config.h +++ b/config.h @@ -534,8 +534,7 @@ NAMESPACE_END #endif // How to declare class constants -// Use enum for OS X 10.5 ld, http://github.com/weidai11/cryptopp/issues/255 -#if (defined(_MSC_VER) && _MSC_VER <= 1300) || defined(__INTEL_COMPILER) || defined(__BORLANDC__) || defined(CRYPTOPP_DOXYGEN_PROCESSING) +#if (_MSC_VER == 1300) || defined(__INTEL_COMPILER) || defined(__BORLANDC__) # define CRYPTOPP_CONSTANT(x) enum {x}; #else # define CRYPTOPP_CONSTANT(x) static const int x;