Fixed complier error "error: missing ')' after 'defined'"

pull/35/head
Jeffrey Walton 2015-07-27 14:41:13 -04:00
parent c42947e19b
commit 23d28aa123
1 changed files with 3 additions and 2 deletions

View File

@ -508,7 +508,8 @@ NAMESPACE_END
# endif
#elif (__INTEL_COMPILER >= 1110)
# define CRYPTOPP_CXX11_RVALUES 1
#elif (__GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) && !defined(__INTEL_COMPILER || __clang__)
#elif (__GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) && !(defined(__INTEL_COMPILER || defined(__clang__))
# define CRYPTOPP_CXX11_RVALUES 1
#endif // R-value compilers
@ -521,7 +522,7 @@ NAMESPACE_END
# endif
#elif (__INTEL_COMPILER >= 1400)
# define CRYPTOPP_CXX11_RVALUES 1
#elif (__GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) && !defined(__INTEL_COMPILER || __clang__)
#elif (__GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) && !(defined(__INTEL_COMPILER || defined(__clang__))
# define CRYPTOPP_CXX11_NOEXCEPT 1
# error
#endif // noexcept compilers