aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2008-11-01 15:03:16 +0000
committerGisle Vanem <gvanem@broadpark.no>2008-11-01 15:03:16 +0000
commit6a8832d83b4d86da285124ac13dc4f4d277a8e95 (patch)
treecd9a06545d00e65b7786ce69a31ca672f5d01af8 /lib
parentfcb498b0d5a5d089990a1ace78d3f21a31ae6525 (diff)
Added '#define HAVE_GETADDRINFO'.
Diffstat (limited to 'lib')
-rw-r--r--lib/config-win32.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 0d10a04bb..5ac22b9ef 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -219,6 +219,13 @@
#define HAVE_UTIME 1
#endif
+/* The following 2 functions are strictly only available when
+ * _WIN32_WINNT is 0x0501 or larger. But we assume this value
+ * is defined. See below. */
+
+/* Define if you have the getaddrinfo function. */
+#define HAVE_GETADDRINFO 1
+
/* Define if you have the getnameinfo function. */
#define HAVE_GETNAMEINFO 1