changeset 11576:a069bb7cc726 draft

(svn r15945) -Fix (r15944): win32 compilation
author glx <glx@openttd.org>
date Fri, 03 Apr 2009 23:44:31 +0000
parents 8cc1542cc1aa
children 35fd3c2814d6
files src/network/core/os_abstraction.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/network/core/os_abstraction.h
+++ b/src/network/core/os_abstraction.h
@@ -28,11 +28,13 @@
 	/* Windows has some different names for some types */
 	typedef SSIZE_T ssize_t;
 	typedef int socklen_t;
+#	define IPPROTO_IPV6 41
 #else
 #include "../../win32.h"
 #include "../../core/alloc_func.hpp"
 
 #define AI_ADDRCONFIG   0x00000400  // Resolution only if global address configured
+#define IPV6_V6ONLY 27
 
 static inline int OTTDgetnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, DWORD hostlen, char *serv, DWORD servlen, int flags)
 {