From: Tor Lillqvist Date: Thu, 13 Aug 2009 21:02:59 +0000 (+0300) Subject: Fix MinGW compilation X-Git-Tag: 2.7.2~7 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a1b6e34a9a17a4a675bdc993aa465b92d7122376;p=fontconfig.git Fix MinGW compilation Need to define _WIN32_WINNT as 0x0500 to get declaration for GetSystemWindowsDirectory(). --- 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