From 469d08ec42e3454e8fe711c4c12a5fca499c9d29 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 5 Mar 2013 20:46:40 +0000 Subject: IPv6: Windows XP doesn't have the inet_pton() function, resorting to custom-formatting the address git-svn-id: http://mc-server.googlecode.com/svn/trunk@1257 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Globals.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/Globals.h') 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 #include #include // IPv6 stuff -- cgit v1.2.3