#endif
#ifndef HAVE_INET_PTON
+#if !(defined(_MSC_VER) && _MSC_VER>1499)
+/* Don't redefine inet_pton in VS2008 */
int inet_pton(int af, const char *src, void *dst);
const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);
#endif
+#endif
#ifdef __APPLE__
/* On OS X, getaddrinfo returns no error indication of lookup
#ifndef HAVE_INET_PTON
+#if !(defined(_MSC_VER) && _MSC_VER>1499)
+/* Don't redefine inet_pton in VS2008 */
/* Simplistic emulation code for inet_pton that only works for IPv4 */
/* These are not exposed because they do not set errno properly */
}
#endif
+#endif