Austin English : ws2_32: Don't assume AI_V4MAPPED is available.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Sep 11 13:40:14 CDT 2014


Module: wine
Branch: master
Commit: f6dad55dabe0dab2efbcb30458c4a999cefe664f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f6dad55dabe0dab2efbcb30458c4a999cefe664f

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Sep 10 20:59:39 2014 -0500

ws2_32: Don't assume AI_V4MAPPED is available.

---

 dlls/ws2_32/socket.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index d5e9fd1..d78d9cd 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -529,7 +529,9 @@ static const int ws_aiflag_map[][2] =
 #ifdef AI_NUMERICSERV
     MAP_OPTION( AI_NUMERICSERV ),
 #endif
+#ifdef  AI_V4MAPPED
     MAP_OPTION( AI_V4MAPPED ),
+#endif
     MAP_OPTION( AI_ADDRCONFIG ),
 };
 




More information about the wine-cvs mailing list