diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-05 21:46:40 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-05 21:46:40 +0100 |
commit | 469d08ec42e3454e8fe711c4c12a5fca499c9d29 (patch) | |
tree | 615fb8b0b106eef882b5505faac7bc3253fc4f03 /source/Globals.h | |
parent | IPv6 support: fixed IP string getting on accept() (diff) | |
download | cuberite-469d08ec42e3454e8fe711c4c12a5fca499c9d29.tar cuberite-469d08ec42e3454e8fe711c4c12a5fca499c9d29.tar.gz cuberite-469d08ec42e3454e8fe711c4c12a5fca499c9d29.tar.bz2 cuberite-469d08ec42e3454e8fe711c4c12a5fca499c9d29.tar.lz cuberite-469d08ec42e3454e8fe711c4c12a5fca499c9d29.tar.xz cuberite-469d08ec42e3454e8fe711c4c12a5fca499c9d29.tar.zst cuberite-469d08ec42e3454e8fe711c4c12a5fca499c9d29.zip |
Diffstat (limited to 'source/Globals.h')
-rw-r--r-- | source/Globals.h | 3 |
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 |