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

Alexandre Julliard julliard at winehq.org
Tue Aug 3 16:49:53 CDT 2021


Zebediah Figura <zfigura at codeweavers.com> writes:

> 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;
>      }

I'm not sure how that would make a difference, since supported_pf() is
not used anywhere.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list