mirror of
https://github.com/curl/curl.git
synced 2026-07-28 00:33:08 +03:00
more comment
This commit is contained in:
parent
2dada9e472
commit
30021ecbf0
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -4275,7 +4275,7 @@ if test "$curl_cv_native_windows" = 'yes'; then
|
|||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
#include <winsock2.h>
|
||||
#include <wincrypt.h> /* for mingw-w64 __MINGW64_VERSION_MAJOR <= 5 */
|
||||
#include <wincrypt.h> /* workaround for mingw-w64 __MINGW64_VERSION_MAJOR <= 5 header bug */
|
||||
#include <iphlpapi.h>
|
||||
]],[[
|
||||
if_nametoindex("");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue