aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-01-24 01:13:47 +0000
committerYang Tse <yangsita@gmail.com>2010-01-24 01:13:47 +0000
commitc656098ee064934d315686d95074c12db7c37af5 (patch)
tree78e30080e34f115a17de0909d6360a2f0feb2145 /src
parent94f33457d3c3a1929578edf4ed8b82314881367b (diff)
HAVE_GETADDRINFO_THREADSAFE definition for non-configure win32 builds
Diffstat (limited to 'src')
-rw-r--r--src/config-win32.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/config-win32.h b/src/config-win32.h
index ccd589688..22d1c7276 100644
--- a/src/config-win32.h
+++ b/src/config-win32.h
@@ -327,17 +327,20 @@
quite convoluted, compiler dependent and even build target dependent. */
#if defined(HAVE_WS2TCPIP_H)
# if defined(__POCC__)
-# define HAVE_FREEADDRINFO 1
-# define HAVE_GETADDRINFO 1
-# define HAVE_GETNAMEINFO 1
+# define HAVE_FREEADDRINFO 1
+# define HAVE_GETADDRINFO 1
+# define HAVE_GETADDRINFO_THREADSAFE 1
+# define HAVE_GETNAMEINFO 1
# elif defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0501)
-# define HAVE_FREEADDRINFO 1
-# define HAVE_GETADDRINFO 1
-# define HAVE_GETNAMEINFO 1
+# define HAVE_FREEADDRINFO 1
+# define HAVE_GETADDRINFO 1
+# define HAVE_GETADDRINFO_THREADSAFE 1
+# define HAVE_GETNAMEINFO 1
# elif defined(_MSC_VER) && (_MSC_VER >= 1200)
-# define HAVE_FREEADDRINFO 1
-# define HAVE_GETADDRINFO 1
-# define HAVE_GETNAMEINFO 1
+# define HAVE_FREEADDRINFO 1
+# define HAVE_GETADDRINFO 1
+# define HAVE_GETADDRINFO_THREADSAFE 1
+# define HAVE_GETNAMEINFO 1
# endif
#endif