]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
require WinXP or higher for molivier's latest changes.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 14 May 2009 19:28:47 +0000 (19:28 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 14 May 2009 19:28:47 +0000 (19:28 +0000)
Good bye, DP on Win2k and below.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8963 d7cf8633-e32d-0410-b094-e92efae38249

lhnet.c

diff --git a/lhnet.c b/lhnet.c
index 9026aca22d1af0799dcc86da5b48aa87f630ac44..fd668b7ee6d83ac59c55bdb8d4f3e1838dd5de60 100644 (file)
--- a/lhnet.c
+++ b/lhnet.c
@@ -10,6 +10,8 @@
 #include <time.h>
 #include <string.h>
 #ifdef WIN32
+#define _WIN32_WINNT 0x0501
+       // Windows XP or higher is required for getaddrinfo
 #include <winsock2.h>
 #include <ws2tcpip.h>
 #else