This commit is contained in:
lotodore
2007-02-25 19:40:24 +00:00
parent 82cf963f0a
commit 0246fae4cb
2 changed files with 7 additions and 1 deletions
+5
View File
@@ -32,6 +32,11 @@
#define IOCTLSOCKET ioctlsocket
#define SOCKET_ERRNO() WSAGetLastError()
#define SOCKET_ERR_WOULDBLOCK WSAEWOULDBLOCK
typedef unsigned __int16 u_int16_t;
typedef unsigned __int32 u_int32_t;
typedef unsigned char u_char;
#else
#define SOCKET int
#define SOCKET_ERROR -1