On Wed, 1 Apr 2003, Alexandre Julliard wrote:
I changed the way we handle htonl a bit. Does it work better now?
Yes, thanks a lot! Now it builds, though I'm getting warnings:
In file included from /usr/include/sys/types.h:126, from ../../include/winsock.h:89, from ../../include/winsock2.h:47, from ../../include/windows.h:62, from icinfo.c:21: /usr/include/machine/endian.h:105: warning: `ntohl' redefined ../../include/winsock.h:87: warning: this is the location of the previous definition /usr/include/machine/endian.h:106: warning: `ntohs' redefined ../../include/winsock.h:88: warning: this is the location of the previous definition /usr/include/machine/endian.h:107: warning: `htonl' redefined ../../include/winsock.h:85: warning: this is the location of the previous definition /usr/include/machine/endian.h:108: warning: `htons' redefined ../../include/winsock.h:86: warning: this is the location of the previous definition
(Do you see any way to avoid these warnings? They're quite numerious and hiding real portability problems I'm currently tracking down.)
Thanks for fixing this so quickly! Gerald