diff --git a/apache2/msc_util.c b/apache2/msc_util.c index 8b3fc43c..bb9b4e78 100644 --- a/apache2/msc_util.c +++ b/apache2/msc_util.c @@ -836,7 +836,7 @@ char *m_strcasestr(const char *haystack, const char *needle) { } #ifdef WIN32 -int my_inet_pton(int family, const char *src, void *dst) { +int inet_pton(int family, const char *src, void *dst) { struct addrinfo addr; struct sockaddr_in *in = NULL; #if APR_HAVE_IPV6 diff --git a/apache2/msc_util.h b/apache2/msc_util.h index 9ce41f6e..d5f19151 100644 --- a/apache2/msc_util.h +++ b/apache2/msc_util.h @@ -50,9 +50,6 @@ int DSOLOCAL inet_pton(int family, const char *src, void *dst); int DSOLOCAL swap_int32(int x); #endif -#ifdef WIN32 -#define inet_pton(x, y, z) my_inet_pton(x, y, z) -#endif char DSOLOCAL *utf8_unicode_inplace_ex(apr_pool_t *mp, unsigned char *input, long int input_len, int *changed);