src/network/core/os_abstraction.h
changeset 6491 00dc414c909d
parent 6121 2aae24b0881f
child 7927 3a3289a049f9
equal deleted inserted replaced
6490:fe4443fba5e3 6491:00dc414c909d
   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;