Skip to content
Snippets Groups Projects
Commit cd1296eb authored by deuce's avatar deuce
Browse files

Define in_addr_t for Win32

parent 8bef2cc9
Branches
Tags
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment