aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_config.h.cmake
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-05-21 16:47:53 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-05-22 09:49:19 +0200
commitc9c4f7b547190709622fb012c446d060710a7d9f (patch)
treeb6af3bfee188bcc506dbfc5ae3615e13798d7909 /lib/curl_config.h.cmake
parent12e564ca200d4b313d7404f6de00a042e78ea819 (diff)
configure/cmake: check for if_nametoindex()
- adds the check to cmake - fixes the configure check to work for cross-compiled windows builds Closes #3917
Diffstat (limited to 'lib/curl_config.h.cmake')
-rw-r--r--lib/curl_config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake
index 9ac64f651..afa59d538 100644
--- a/lib/curl_config.h.cmake
+++ b/lib/curl_config.h.cmake
@@ -241,6 +241,9 @@
/* Define to 1 if you have the `getsockname' function. */
#cmakedefine HAVE_GETSOCKNAME 1
+/* Define to 1 if you have the `if_nametoindex' function. */
+#cmakedefine HAVE_IF_NAMETOINDEX 1
+
/* Define to 1 if you have the `getpwuid' function. */
#cmakedefine HAVE_GETPWUID 1