aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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