summaryrefslogtreecommitdiffstats
path: root/source/Globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Globals.h')
-rw-r--r--source/Globals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Globals.h b/source/Globals.h
index 038b173cf..c9589bfc5 100644
--- a/source/Globals.h
+++ b/source/Globals.h
@@ -92,6 +92,9 @@ typedef unsigned short UInt16;
// OS-dependent stuff:
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
+
+ #define _WIN32_WINNT 0x501 // We want to target WinXP and higher
+
#include <Windows.h>
#include <winsock2.h>
#include <Ws2tcpip.h> // IPv6 stuff