Skip to content
Snippets Groups Projects
Commit d08ee3c8 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

cmake: fix Windows build with IPv6 support

Patch-by: "Z98"
parent cf700867
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment