Skip to content
Snippets Groups Projects
Commit 94c8dfa2 authored by Austin Seipp's avatar Austin Seipp
Browse files

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: default avatarAustin Seipp <austin@well-typed.com>
parent f66c6435
No related merge requests found
......@@ -6,6 +6,8 @@
*
* ---------------------------------------------------------------------------*/
#define _WIN32_WINNT 0x0501
#include "Rts.h"
#include "sm/OSMem.h"
#include "RtsUtils.h"
......
......@@ -7,7 +7,7 @@
*
* --------------------------------------------------------------------------*/
#define _WIN32_WINNT 0x0500
#define _WIN32_WINNT 0x0501
#include "Rts.h"
#include <windows.h>
......
/*
* RTS periodic timers.
*
*
*/
#define _WIN32_WINNT 0x0500
#define _WIN32_WINNT 0x0501
#include "Rts.h"
#include "Ticker.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment