mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
cmake: fix Windows build with IPv6 support
Patch-by: "Z98"
This commit is contained in:
parent
cf7008670b
commit
d08ee3c83d
@ -108,7 +108,11 @@ if(NOT UNIX)
|
|||||||
set(HAVE_IN_ADDR_T 0)
|
set(HAVE_IN_ADDR_T 0)
|
||||||
set(HAVE_INET_NTOA_R_DECL 0)
|
set(HAVE_INET_NTOA_R_DECL 0)
|
||||||
set(HAVE_INET_NTOA_R_DECL_REENTRANT 0)
|
set(HAVE_INET_NTOA_R_DECL_REENTRANT 0)
|
||||||
|
if(ENABLE_IPV6)
|
||||||
|
set(HAVE_GETADDRINFO 1)
|
||||||
|
else()
|
||||||
set(HAVE_GETADDRINFO 0)
|
set(HAVE_GETADDRINFO 0)
|
||||||
|
endif()
|
||||||
set(STDC_HEADERS 1)
|
set(STDC_HEADERS 1)
|
||||||
set(RETSIGTYPE_TEST 1)
|
set(RETSIGTYPE_TEST 1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user