]> git.wh0rd.org Git - fontconfig.git/commitdiff
Fix MinGW compilation
authorTor Lillqvist <tml@iki.fi>
Thu, 13 Aug 2009 21:02:59 +0000 (00:02 +0300)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 13 Aug 2009 22:13:04 +0000 (18:13 -0400)
Need to define _WIN32_WINNT as 0x0500 to get declaration for
GetSystemWindowsDirectory().

src/fcxml.c

index 9dc64e237fae74fb2e406f3bca18993b72e6ee87..7b7bbfd1062a1a6d85336a3a136854d0ee4effc1 100644 (file)
@@ -53,6 +53,7 @@
 #endif /* ENABLE_LIBXML2 */
 
 #ifdef _WIN32
+#define _WIN32_WINNT 0x0500
 #define STRICT
 #include <windows.h>
 #undef STRICT