Rob Shearman : include: Add defines for NI_MAXHOST and NI_MAXSERV to ws2tcpip.h.
Alexandre Julliard
julliard at winehq.org
Thu Apr 2 10:42:41 CDT 2009
Module: wine
Branch: master
Commit: 9993b0a079903368224b3f889075bdc773cfae28
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9993b0a079903368224b3f889075bdc773cfae28
Author: Rob Shearman <robertshearman at 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
More information about the wine-cvs
mailing list