Add guard for Borland compilers following config.h
parent
6c4c0db3de
commit
6a3abcd7de
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue