Changeset - r11571:db663bedabbd
[Not reviewed]
master
0 1 0
glx - 15 years ago 2009-04-03 23:44:31
glx@openttd.org
(svn r15945) -Fix (r15944): win32 compilation
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/network/core/os_abstraction.h
Show inline comments
 
@@ -28,11 +28,13 @@ typedef unsigned long in_addr_t;
 
	/* 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)
 
{
0 comments (0 inline, 0 general)