[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFT final 1/2] Provide winsock wrappers for increased compatibility
From: |
Paolo Bonzini |
Subject: |
Re: [RFT final 1/2] Provide winsock wrappers for increased compatibility |
Date: |
Sat, 13 Sep 2008 13:27:55 +0200 |
User-agent: |
Thunderbird 2.0.0.16 (Macintosh/20080707) |
Bruno Haible wrote:
> Hi Paolo,
>
> Paolo Bonzini wrote:
>> except the need to
>> move parts of the sys_socket module to errno/stdio/string.
>
> I can do that for you. It's the usual gnulib macrology and substology.
>
>> 2) regarding string, strerror does not need to be replaced under mingw;
>
> Huh? strerror is declared by mingw's <string.h>. Since you provide a
> replacement in winsock.c, this replacement should be declared in our
> <string.h> replacement.
Sorry for being unclear: the MinGW strerror does not need the
replacement *already in gnulib*, so there is no clash. It is
suboptimal, but compiles.
Thanks for the offer of completing the work.
Paolo