pajoye          Thu Nov  6 14:16:14 2008 UTC

  Modified files:              
    /php-src/win32      inet.h 
  Log:
  - MFH, has this feature before Vista/2k8 (use the same test in 5.3)
  
http://cvs.php.net/viewvc.cgi/php-src/win32/inet.h?r1=1.3&r2=1.4&diff_format=u
Index: php-src/win32/inet.h
diff -u php-src/win32/inet.h:1.3 php-src/win32/inet.h:1.4
--- php-src/win32/inet.h:1.3    Sat Aug 23 20:31:26 2008
+++ php-src/win32/inet.h        Thu Nov  6 14:16:14 2008
@@ -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);



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to