summaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-05-05 17:08:22 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-05-17 23:24:34 +0200
commite91e48161235272ff485ff32bd048c53af731f43 (patch)
tree1fa1a40ff64feda643dcc8f1ed2515e00e2a8974 /lib/config-win32.h
parent3b06e68b7734cb10a555f9d7e804dd5d808236a4 (diff)
downloadcurl-e91e48161235272ff485ff32bd048c53af731f43.tar.gz
libcurl: #ifdef away more code for disabled features/protocols
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r--lib/config-win32.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 76b00b9bb..24c35d339 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -185,6 +185,9 @@
/* Define if you have the ftruncate function. */
#define HAVE_FTRUNCATE 1
+/* Define to 1 if you have the `getpeername' function. */
+#define HAVE_GETPEERNAME 1
+
/* Define if you have the gethostbyaddr function. */
#define HAVE_GETHOSTBYADDR 1