mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-08-16 07:11:24 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d3ff68d28d |
@@ -107,7 +107,7 @@ if host_machine.system() == 'windows'
|
|||||||
elif host_machine.system() == 'darwin'
|
elif host_machine.system() == 'darwin'
|
||||||
async_ns_dep = dependency('appleframeworks', modules: ['CFNetwork', 'CoreFoundation'], required: async_ns_opt)
|
async_ns_dep = dependency('appleframeworks', modules: ['CFNetwork', 'CoreFoundation'], required: async_ns_opt)
|
||||||
else
|
else
|
||||||
has_gai_a = cxx.has_function('getaddrinfo_a', args: '-D_GNU_SOURCE')
|
has_gai_a = async_ns_opt.allowed() and cxx.has_function('getaddrinfo_a', args: '-D_GNU_SOURCE')
|
||||||
if has_gai_a
|
if has_gai_a
|
||||||
async_ns_dep = declare_dependency()
|
async_ns_dep = declare_dependency()
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user