summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-09-20 18:18:51 -0400
committerJeffrey Walton <noloader@gmail.com>2017-09-20 18:18:51 -0400
commit4b7549a990f5bdaddb3b76f6caf4e817a02871f1 (patch)
treea8aef1a5fc325da489ed281941b7258360209694 /config.h
parent35c0fa82fd4c9718209bddfedbb36f651f275992 (diff)
downloadcryptopp-git-4b7549a990f5bdaddb3b76f6caf4e817a02871f1.tar.gz
Use 'static const int' for constant Borland/Embarcadero (GH #512)
Diffstat (limited to 'config.h')
-rw-r--r--config.h2
1 files changed, 1 insertions, 1 deletions
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};