Macro cleanup under Visual Studio .Net

This commit is contained in:
Jeffrey Walton 2016-11-14 01:23:12 -05:00
parent ef47a5c148
commit ea1157d8f5
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

8
misc.h
View File

@ -9,9 +9,9 @@
#include "config.h" #include "config.h"
#if !CRYPTOPP_DOXYGEN_PROCESSING #if !defined(CRYPTOPP_DOXYGEN_PROCESSING)
#if CRYPTOPP_MSC_VERSION #if (CRYPTOPP_MSC_VERSION)
# pragma warning(push) # pragma warning(push)
# pragma warning(disable: 4146 4514) # pragma warning(disable: 4146 4514)
# if (CRYPTOPP_MSC_VERSION >= 1400) # if (CRYPTOPP_MSC_VERSION >= 1400)
@ -178,7 +178,7 @@ class CRYPTOPP_DLL Empty
{ {
}; };
#if !CRYPTOPP_DOXYGEN_PROCESSING #if !defined(CRYPTOPP_DOXYGEN_PROCESSING)
template <class BASE1, class BASE2> template <class BASE1, class BASE2>
class CRYPTOPP_NO_VTABLE TwoBases : public BASE1, public BASE2 class CRYPTOPP_NO_VTABLE TwoBases : public BASE1, public BASE2
{ {
@ -2395,7 +2395,7 @@ inline T SafeLeftShift(T value)
NAMESPACE_END NAMESPACE_END
#if CRYPTOPP_MSC_VERSION #if (CRYPTOPP_MSC_VERSION)
# pragma warning(pop) # pragma warning(pop)
#endif #endif