]> granicus.if.org Git - php/commitdiff
- MFH, has this feature before Vista/2k8 (use the same test in 5.3)
authorPierre Joye <pajoye@php.net>
Thu, 6 Nov 2008 14:16:14 +0000 (14:16 +0000)
committerPierre Joye <pajoye@php.net>
Thu, 6 Nov 2008 14:16:14 +0000 (14:16 +0000)
win32/inet.h

index 9e08094dbef93ee8ef63dbecf37c835a6f1f99af..02849b5469e5b5dbecf6db5eb760ecec85e7632f 100644 (file)
@@ -4,7 +4,7 @@
 #endif
 #include <Ws2tcpip.h>
 
-#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);