Commit 9993b0a0 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

include: Add defines for NI_MAXHOST and NI_MAXSERV to ws2tcpip.h.

parent 391fce6e
...@@ -92,6 +92,14 @@ typedef ADDRINFOA ADDRINFO, *LPADDRINFO; ...@@ -92,6 +92,14 @@ typedef ADDRINFOA ADDRINFO, *LPADDRINFO;
# define WS_EAI_SOCKTYPE WSAESOCKTNOSUPPORT # define WS_EAI_SOCKTYPE WSAESOCKTNOSUPPORT
#endif #endif
#ifndef USE_WS_PREFIX
# define NI_MAXHOST 1025
# define NI_MAXSERV 32
#else
# define WS_NI_MAXHOST 1025
# define WS_NI_MAXSERV 32
#endif
/* Possible Windows flags for getnameinfo() */ /* Possible Windows flags for getnameinfo() */
#ifndef USE_WS_PREFIX #ifndef USE_WS_PREFIX
# define NI_NOFQDN 0x01 # define NI_NOFQDN 0x01
......
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