Commit dfcf4910 authored by Alexandre Julliard's avatar Alexandre Julliard

include: Make socklen_t a define to avoid conflicting typedefs.

parent c7f0777f
......@@ -54,7 +54,11 @@ typedef struct WS(addrinfoW)
struct WS(addrinfoW)* ai_next;
} ADDRINFOW, *PADDRINFOW;
typedef int WS(socklen_t);
#ifdef USE_WS_PREFIX
typedef int WS_socklen_t;
#else
#define socklen_t int /* avoid conflicts with the system's socklen_t typedef */
#endif
typedef ADDRINFOA ADDRINFO, *LPADDRINFO;
......
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