summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>