src/network/core/os_abstraction.h
branchnoai
changeset 9601 b499fdd106d5
parent 6447 3b71e57fd22b
child 6871 5a9dc001e1ad
equal deleted inserted replaced
9600:59cc173953ae 9601:b499fdd106d5
   159 #	endif
   159 #	endif
   160 
   160 
   161 /* Make the names compatible */
   161 /* Make the names compatible */
   162 #	define closesocket(s) CloseSocket(s)
   162 #	define closesocket(s) CloseSocket(s)
   163 #	define GET_LAST_ERROR() Errno()
   163 #	define GET_LAST_ERROR() Errno()
   164 #	define ioctlsocket(s,request,status) IoctlSocket((LONG)s,(ULONG)request,(char*)status)
   164 #	define ioctlsocket(s, request, status) IoctlSocket((LONG)s, (ULONG)request, (char*)status)
   165 #	define ioctl ioctlsocket
   165 #	define ioctl ioctlsocket
   166 
   166 
   167 	typedef unsigned int in_addr_t;
   167 	typedef unsigned int in_addr_t;
   168 	typedef long         socklen_t;
   168 	typedef long         socklen_t;
   169 	extern struct Library *SocketBase;
   169 	extern struct Library *SocketBase;