[PATCH 2/6] ws2_32: Always support AF_IPX and AF_IRDA in bind().

Zebediah Figura zfigura at codeweavers.com
Mon Aug 2 19:37:38 CDT 2021


Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
 dlls/ws2_32/socket.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index 40e4ecb9325..315b211b22c 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -733,15 +733,9 @@ static inline BOOL supported_pf(int pf)
     {
     case WS_AF_INET:
     case WS_AF_INET6:
-        return TRUE;
-#ifdef HAS_IPX
     case WS_AF_IPX:
-        return TRUE;
-#endif
-#ifdef HAS_IRDA
     case WS_AF_IRDA:
         return TRUE;
-#endif
     default:
         return FALSE;
     }
-- 
2.32.0




More information about the wine-devel mailing list