mirror of
https://github.com/curl/curl.git
synced 2026-07-09 16:47:17 +03:00
cmake: fix Windows build with IPv6 support
Patch-by: "Z98"
This commit is contained in:
parent
cf7008670b
commit
d08ee3c83d
1 changed files with 5 additions and 1 deletions
|
|
@ -108,7 +108,11 @@ if(NOT UNIX)
|
|||
set(HAVE_IN_ADDR_T 0)
|
||||
set(HAVE_INET_NTOA_R_DECL 0)
|
||||
set(HAVE_INET_NTOA_R_DECL_REENTRANT 0)
|
||||
set(HAVE_GETADDRINFO 0)
|
||||
if(ENABLE_IPV6)
|
||||
set(HAVE_GETADDRINFO 1)
|
||||
else()
|
||||
set(HAVE_GETADDRINFO 0)
|
||||
endif()
|
||||
set(STDC_HEADERS 1)
|
||||
set(RETSIGTYPE_TEST 1)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue