mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
2620304003
- drop bindlib usage on windows - inet_pton, inet_ntop and inet_aton are always available (VC9 uses the CRT implementation, VC6 our own)
11 lines
304 B
C
11 lines
304 B
C
#if _MSC_VER >= 1500
|
|
# include <In6addr.h>
|
|
#endif
|
|
#include <Ws2tcpip.h>
|
|
|
|
#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);
|
|
#endif
|