From a1b6e34a9a17a4a675bdc993aa465b92d7122376 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 14 Aug 2009 00:02:59 +0300 Subject: [PATCH] Fix MinGW compilation Need to define _WIN32_WINNT as 0x0500 to get declaration for GetSystemWindowsDirectory(). --- src/fcxml.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fcxml.c b/src/fcxml.c index 9dc64e2..7b7bbfd 100644 --- a/src/fcxml.c +++ b/src/fcxml.c @@ -53,6 +53,7 @@ #endif /* ENABLE_LIBXML2 */ #ifdef _WIN32 +#define _WIN32_WINNT 0x0500 #define STRICT #include #undef STRICT -- 2.39.2