Added define for CRYPTOPP_CXX14 so we can pick up operator "" and small string optimizations (SSO)
parent
bef0e79882
commit
9fd44748c1
6
config.h
6
config.h
|
|
@ -512,6 +512,12 @@ NAMESPACE_END
|
|||
# define CRYPTOPP_CXX11 1
|
||||
#endif
|
||||
|
||||
// C++14 adds a operator”” and Small String Optimizations (SSO)
|
||||
// TODO: change this when Microsoft adds support
|
||||
#if (_MSC_VER >= 1600) || (__cplusplus >= 201402L)
|
||||
# define CRYPTOPP_CXX14 1
|
||||
#endif
|
||||
|
||||
// C++11 is available
|
||||
#if defined(CRYPTOPP_CXX11)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue