mirror of
https://github.com/php/php-src.git
synced 2025-01-11 13:34:24 +08:00
12 lines
328 B
C
12 lines
328 B
C
#include "config.w32.h"
|
|
#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
|