From 30021ecbf0a280def9c27766634b5075bb6f1945 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 24 Jul 2025 19:42:19 +0200 Subject: [PATCH] more comment --- CMakeLists.txt | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 10d171bcc9..5f51997f2e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1785,7 +1785,7 @@ check_function_exists("setlocale" HAVE_SETLOCALE) check_function_exists("setrlimit" HAVE_SETRLIMIT) if(WIN32) - # include wincrypt.h for mingw-w64 __MINGW64_VERSION_MAJOR <= 5 */ + # include wincrypt.h as a workaround for mingw-w64 __MINGW64_VERSION_MAJOR <= 5 header bug */ check_symbol_exists("if_nametoindex" "winsock2.h;wincrypt.h;iphlpapi.h" HAVE_IF_NAMETOINDEX) # Windows Vista+ non-UWP */ else() check_function_exists("if_nametoindex" HAVE_IF_NAMETOINDEX) # net/if.h diff --git a/configure.ac b/configure.ac index 2fafff1fdf..27c46bbffc 100644 --- a/configure.ac +++ b/configure.ac @@ -4275,7 +4275,7 @@ if test "$curl_cv_native_windows" = 'yes'; then #define WIN32_LEAN_AND_MEAN #endif #include - #include /* for mingw-w64 __MINGW64_VERSION_MAJOR <= 5 */ + #include /* workaround for mingw-w64 __MINGW64_VERSION_MAJOR <= 5 header bug */ #include ]],[[ if_nametoindex("");