From c9c4f7b547190709622fb012c446d060710a7d9f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 21 May 2019 16:47:53 +0200 Subject: configure/cmake: check for if_nametoindex() - adds the check to cmake - fixes the configure check to work for cross-compiled windows builds Closes #3917 --- lib/curl_config.h.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') 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 -- cgit v1.2.3