[PATCH 1/4] ws2_32: Reimplement WSAEnumProtocols() using a flat array of WSA_PROTOCOLINFO structures.
Alexandre Julliard
julliard at winehq.org
Mon Sep 28 14:16:44 CDT 2020
Zebediah Figura <z.figura12 at gmail.com> writes:
> Looking up protocol information by protocol number is not reliable, as protocol
> numbers for different families may overlap.
>
> Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
> ---
> dlls/ws2_32/socket.c | 210 ++++++++++++++++++++++++++++++-------------
> 1 file changed, 149 insertions(+), 61 deletions(-)
clang doesn't like this:
../wine/dlls/ws2_32/socket.c:209:23: error: initializer element is not a compile-time constant
.ProviderId = ProviderIdIP,
^~~~~~~~~~~~
1 error generated.
make: *** [Makefile:166412: dlls/ws2_32/socket.o] Error 1
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list