Define HAVE_GETADDRINFO only if it is not defined in MinGW build.

pull/16/merge
Tatsuhiro Tsujikawa 2012-04-07 23:56:37 +09:00
parent 9996d4ef4b
commit 3f7561b80c
1 changed files with 3 additions and 1 deletions

View File

@ -54,7 +54,9 @@
#ifdef __MINGW32__
# define a2_sockopt_t char *
# define HAVE_GETADDRINFO
# ifndef HAVE_GETADDRINFO
# define HAVE_GETADDRINFO
# endif // !HAVE_GETADDRINFO
# undef HAVE_GAI_STRERROR
# undef gai_strerror
#else