Module: wine Branch: master Commit: 9993b0a079903368224b3f889075bdc773cfae28 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9993b0a079903368224b3f8890...
Author: Rob Shearman robertshearman@gmail.com Date: Wed Apr 1 17:13:38 2009 +0100
include: Add defines for NI_MAXHOST and NI_MAXSERV to ws2tcpip.h.
---
include/ws2tcpip.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/include/ws2tcpip.h b/include/ws2tcpip.h index 8084170..fc9f258 100644 --- a/include/ws2tcpip.h +++ b/include/ws2tcpip.h @@ -92,6 +92,14 @@ typedef ADDRINFOA ADDRINFO, *LPADDRINFO; # define WS_EAI_SOCKTYPE WSAESOCKTNOSUPPORT #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() */ #ifndef USE_WS_PREFIX # define NI_NOFQDN 0x01