diff options
Diffstat (limited to 'win32/inet.h')
-rw-r--r-- | win32/inet.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/win32/inet.h b/win32/inet.h new file mode 100644 index 0000000000..7b3821c71b --- /dev/null +++ b/win32/inet.h @@ -0,0 +1,10 @@ +#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 |