[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8277: Emacs should use socklen_t for socket lengths

From: Paul Eggert
Subject: bug#8277: Emacs should use socklen_t for socket lengths
Date: Sun, 20 Mar 2011 12:40:52 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20110223 Thunderbird/3.1.8

On 03/20/2011 12:22 PM, Eli Zaretskii wrote:
> But for Cygwin, nt/inc/sys/socket.h is not relevant.  Files under nt/
> are used only by the native Windows build.  I expect Cygwin to use
> sys/socket.h from its system headers, and I don't think it includes
> ws2tcpip.h (but I could be wrong).

In that case, I suppose Bruno was talking about ports for programs
other than Emacs.  Cygwin ports should include sys/socket.h, as
you wrote, and MingW ports should include some other file.  For
Emacs this shouldn't matter, since it does things its own way,
and (and you say) all that's important is that the header files
should define socklen_t one way or another.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]