From ea1157d8f51014c798d254231e922cce86dca45d Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 14 Nov 2016 01:23:12 -0500 Subject: [PATCH] Macro cleanup under Visual Studio .Net --- misc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/misc.h b/misc.h index 21c3f39d..2fbd8761 100644 --- a/misc.h +++ b/misc.h @@ -9,9 +9,9 @@ #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(disable: 4146 4514) # if (CRYPTOPP_MSC_VERSION >= 1400) @@ -178,7 +178,7 @@ class CRYPTOPP_DLL Empty { }; -#if !CRYPTOPP_DOXYGEN_PROCESSING +#if !defined(CRYPTOPP_DOXYGEN_PROCESSING) template class CRYPTOPP_NO_VTABLE TwoBases : public BASE1, public BASE2 { @@ -2395,7 +2395,7 @@ inline T SafeLeftShift(T value) NAMESPACE_END -#if CRYPTOPP_MSC_VERSION +#if (CRYPTOPP_MSC_VERSION) # pragma warning(pop) #endif