wsock32: Add a fallback for inet_network.

Alexandre Julliard julliard at winehq.org
Mon Oct 14 10:26:53 CDT 2013


Huw Davies <huw at codeweavers.com> writes:

> ---
>  dlls/wsock32/protocol.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

This doesn't build on MingW:

protocol.o: In function `WSOCK32_inet_network at 4':
/home/julliard/wine/build/obj-pe32/dlls/wsock32/../../../wine/dlls/wsock32/protocol.c:55: undefined reference to `_inet_addr'
/home/julliard/wine/build/obj-pe32/dlls/wsock32/../../../wine/dlls/wsock32/protocol.c:55: undefined reference to `_ntohl'
collect2: ld returned 1 exit status
winegcc: i686-w64-mingw32-gcc failed

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list