From: Pierre Joye Date: Thu, 6 Nov 2008 14:16:14 +0000 (+0000) Subject: - MFH, has this feature before Vista/2k8 (use the same test in 5.3) X-Git-Tag: BEFORE_HEAD_NS_CHANGE~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=41e3343a26f465383317f5fe8aeed3b3fc39c1e5;p=php - MFH, has this feature before Vista/2k8 (use the same test in 5.3) --- diff --git a/win32/inet.h b/win32/inet.h index 9e08094dbe..02849b5469 100644 --- a/win32/inet.h +++ b/win32/inet.h @@ -4,7 +4,7 @@ #endif #include -#if (_WIN32_WINNT < 0x0600) /* Vita/2k8 have these functions */ +#if (_WIN32_WINNT <= 0x500) PHPAPI int inet_pton(int af, const char* src, void* dst); PHPAPI const char* inet_ntop(int af, const void* src, char* dst, size_t size); PHPAPI int inet_aton(const char *cp, struct in_addr *inp);