[Nut-upsdev] cross-compiling the windows_port branch (socklen_t)
Charles Lepple
clepple at gmail.com
Wed Oct 20 23:13:14 UTC 2010
On Oct 20, 2010, at 9:59 AM, Arjen de Korte wrote:
> Something similar goes for socklen_t. We should trust on <sys/
> socket.h> to provide the necessary type.
On mingw32, there is no sys/socket.h, and winsock.h or winsock2.h
provides the getpeername() call.
I'm trying not to comment on the merits of following POSIX to the
letter, or how different mingw32 is from cygwin or more traditional
Unix platforms, but I don't think it's that straightforward.
More information about the Nut-upsdev
mailing list