From 336d8af58ea3d00a20a56937b11236a6bf2679dd Mon Sep 17 00:00:00 2001 From: Michael Cronenworth Date: Fri, 25 Nov 2011 17:13:59 +0100 Subject: Build fix for MinGW w64 --- p11-kit/compat.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1