ws2_32: don't assume AI_V4MAPPED is available

Austin English austinenglish at gmail.com
Wed Sep 10 20:59:39 CDT 2014


-- 
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140910/a1ddd82b/attachment.html>
-------------- next part --------------
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-patches mailing list