equal
deleted
inserted
replaced
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; |