src/network/core/os_abstraction.h
branchcpp_gui
changeset 6308 646711c5feaa
parent 6268 4b5241e5dd10
child 6871 5a9dc001e1ad
equal deleted inserted replaced
6307:f40e88cff863 6308:646711c5feaa
   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;