From 4b7549a990f5bdaddb3b76f6caf4e817a02871f1 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Wed, 20 Sep 2017 18:18:51 -0400 Subject: [PATCH] Use 'static const int' for constant Borland/Embarcadero (GH #512) --- config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.h b/config.h index 6e0f2fb2..953a32eb 100644 --- a/config.h +++ b/config.h @@ -658,7 +658,7 @@ NAMESPACE_END #endif // How to declare class constants -#if defined(CRYPTOPP_DOXYGEN_PROCESSING) +#if defined(CRYPTOPP_DOXYGEN_PROCESSING) || defined(__BORLANDC__) # define CRYPTOPP_CONSTANT(x) static const int x; #else # define CRYPTOPP_CONSTANT(x) enum {x};