Sync with Upstream master

pull/461/head
Jeffrey Walton 2017-08-16 05:44:38 -04:00
commit e394313071
1 changed files with 5 additions and 1 deletions

View File

@ -621,7 +621,11 @@ NAMESPACE_END
//#else //#else
//# define CRYPTOPP_CONSTANT(x) static const int x; //# define CRYPTOPP_CONSTANT(x) static const int x;
//#endif //#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 ******************** // ***************** Initialization and Constructor priorities ********************