summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cronenworth <mike@cchtml.com>2011-11-25 17:13:59 +0100
committerStef Walter <stefw@collabora.co.uk>2011-11-25 17:13:59 +0100
commit336d8af58ea3d00a20a56937b11236a6bf2679dd (patch)
treee8ed5b896ec7af5b1de6da55d87d6ad2241871ce
parente18725f71e0f070a54d763cbba7797031828dd95 (diff)
Build fix for MinGW w64
-rw-r--r--p11-kit/compat.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/p11-kit/compat.h b/p11-kit/compat.h
index 39dd67e..4b839b2 100644
--- a/p11-kit/compat.h
+++ b/p11-kit/compat.h
@@ -43,8 +43,14 @@
#ifdef OS_WIN32
+#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x500
-#define _WIN32_IE 0x400
+#endif
+
+#ifndef _WIN32_IE
+#define _WIN32_IE 0x500
+#endif
+
#define WIN32_LEAN_AND_MEAN 1
#include <windows.h>