This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author weck
Recipients weck
Date 2007-11-19.16:32:17
SpamBayes Score 0.13097578
Marked as misclassified No
Message-id <1195489938.2.0.108560909512.issue1464@psf.upfronthosting.co.za>
In-reply-to
Content
in Microsoft SDKs\Windows\v6.0A\Include\ws2tcpip.h, inet_pton was 
defined when NTDDI_VERSION >= NTDDI_LONGHORN with the following lines:

#if (NTDDI_VERSION >= NTDDI_LONGHORN)
WINSOCK_API_LINKAGE
INT
WSAAPI
inet_pton(
    __in                                INT             Family,
    __in                                PCSTR           pszAddrString,
    __out_bcount(sizeof(IN6_ADDR))      PVOID           pAddrBuf
    );
... ...

so in socketmodule.c, inet_pton should not be defined in such a 
situation.
Files
File name Uploaded
socketmodule.c.patch weck, 2007-11-19.16:32:17
History
Date User Action Args
2007-11-19 16:32:18wecksetspambayes_score: 0.130976 -> 0.13097578
recipients: + weck
2007-11-19 16:32:18wecksetspambayes_score: 0.130976 -> 0.130976
messageid: <1195489938.2.0.108560909512.issue1464@psf.upfronthosting.co.za>
2007-11-19 16:32:18wecklinkissue1464 messages
2007-11-19 16:32:17weckcreate