Add guard for Borland compilers following config.h

pull/142/head
Jeffrey Walton 2016-02-14 09:12:57 -05:00
parent 6c4c0db3de
commit 6a3abcd7de
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ NAMESPACE_END
#endif
// how to declare class constants
#if (defined(_MSC_VER) && _MSC_VER <= 1300) || defined(__INTEL_COMPILER)
#if (defined(_MSC_VER) && _MSC_VER <= 1300) || defined(__INTEL_COMPILER) || defined(__BORLANDC__)
# define CRYPTOPP_CONSTANT(x) enum {x};
#else
# define CRYPTOPP_CONSTANT(x) static const int x;