On 9/28/20 2:16 PM, Alexandre Julliard wrote:
Zebediah Figura <z.figura12(a)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(a)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
Looks like this is <https://bugs.llvm.org/show_bug.cgi?id=45157>. Unfortunate; I guess I'll just copy the GUID struct verbatim instead...