openbsd-ports/devel/cryptopp/patches/patch-stdcpp_h
dcoppa 6a1ea1cc3c Update to cryptopp-5.6.1
'go for it' espie@
2011-06-24 07:55:17 +00:00

13 lines
369 B
Plaintext

$OpenBSD: patch-stdcpp_h,v 1.1 2011/06/24 07:55:18 dcoppa Exp $
--- stdcpp.h.orig Mon Oct 18 15:52:08 2010
+++ stdcpp.h Mon Oct 18 15:52:33 2010
@@ -1,7 +1,7 @@
#ifndef CRYPTOPP_STDCPP_H
#define CRYPTOPP_STDCPP_H
-#if _MSC_VER >= 1500
+#if defined(_MSC_VER) && _MSC_VER >= 1500
#define _DO_NOT_DECLARE_INTERLOCKED_INTRINSICS_IN_MEMORY
#include <intrin.h>
#endif