Commit cd1296eb authored by deuce's avatar deuce
Browse files

Define in_addr_t for Win32

parent 8bef2cc9
......@@ -179,6 +179,7 @@ union xp_sockaddr {
#define s_addr S_un.S_addr
#define sa_family_t ushort
typedef uint32_t in_addr_t;
static int wsa_error;
#define ERROR_VALUE ((wsa_error=WSAGetLastError())>0 ? wsa_error-WSABASEERR : wsa_error)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment