summaryrefslogtreecommitdiff
path: root/src
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 /src
parent161620108bbb4e70f2817481e4d5bc26772fe67e (diff)
Fix MinGW compilation
Need to define _WIN32_WINNT as 0x0500 to get declaration for GetSystemWindowsDirectory().
Diffstat (limited to 'src')
-rw-r--r--src/fcxml.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fcxml.c b/src/fcxml.c
index 9dc64e23..7b7bbfd1 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