summaryrefslogtreecommitdiff
path: root/rts/win32/OSThreads.c
diff options
context:
space:
mode:
authorAustin Seipp <austin@well-typed.com>2013-10-26 20:13:55 -0500
committerAustin Seipp <austin@well-typed.com>2013-10-26 20:16:44 -0500
commit94c8dfa2f43441c4074f5bcead6ee54f5fd63ffb (patch)
tree056e03c43be907dedbfce4702412f7f6bb4d6850 /rts/win32/OSThreads.c
parentf66c64359f1e2b24025e8c7d5a2bb87177fdee48 (diff)
downloadhaskell-94c8dfa2f43441c4074f5bcead6ee54f5fd63ffb.tar.gz
Fix Windows build.
GlobalMemoryStatusEx actually requires _WIN32_WINNT to be defined as 0x0501 (Windows XP) for availability. For completeness, I bumped WIN32_WINNT in Ticker and OSThreads as well. Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'rts/win32/OSThreads.c')
-rw-r--r--rts/win32/OSThreads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/win32/OSThreads.c b/rts/win32/OSThreads.c
index d0d97b3c4d..765cf899c3 100644
--- a/rts/win32/OSThreads.c
+++ b/rts/win32/OSThreads.c
@@ -7,7 +7,7 @@
*
* --------------------------------------------------------------------------*/
-#define _WIN32_WINNT 0x0500
+#define _WIN32_WINNT 0x0501
#include "Rts.h"
#include <windows.h>