summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2009-08-14 00:02:59 +0300
committerBehdad Esfahbod <behdad@behdad.org>2009-08-13 18:13:04 -0400
commita1b6e34a9a17a4a675bdc993aa465b92d7122376 (patch)
treee0ce12c6dbd982105d9b137b163de2428d117136
parent161620108bbb4e70f2817481e4d5bc26772fe67e (diff)
downloadfontconfig-a1b6e34a9a17a4a675bdc993aa465b92d7122376.tar.gz
Fix MinGW compilation
Need to define _WIN32_WINNT as 0x0500 to get declaration for GetSystemWindowsDirectory().
-rw-r--r--src/fcxml.c1
1 files changed, 1 insertions, 0 deletions
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 <windows.h>
#undef STRICT