$OpenBSD: patch-filters_h,v 1.2 2016/11/22 17:20:25 dcoppa Exp $
--- filters.h.orig	Tue Nov 22 09:16:47 2016
+++ filters.h	Tue Nov 22 09:16:48 2016
@@ -8,7 +8,7 @@
 
 #include "cryptlib.h"
 
-#if CRYPTOPP_MSC_VERSION
+#if defined(CRYPTOPP_MSC_VERSION)
 # pragma warning(push)
 # pragma warning(disable: 4127 4189 4514)
 #endif
@@ -1294,7 +1294,7 @@ class CRYPTOPP_DLL RandomNumberSource : public SourceT
 
 NAMESPACE_END
 
-#if CRYPTOPP_MSC_VERSION
+#if defined(CRYPTOPP_MSC_VERSION)
 # pragma warning(pop)
 #endif
 
