mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[meson] find inet_ntop on Windows
This commit is contained in:
parent
a76aa91566
commit
a6af407dc0
@ -767,6 +767,8 @@ endif
|
||||
|
||||
if compiler.has_function('inet_ntop', prefix : '#include <arpa/inet.h>', dependencies: wattdeps)
|
||||
conf_data.set('HAVE_INET_NTOP', 1)
|
||||
elif compiler.has_function('inet_ntop', prefix : '#include <ws2tcpip.h>')
|
||||
conf_data.set('HAVE_INET_NTOP', 1)
|
||||
endif
|
||||
|
||||
if compiler.has_function('fflush', prefix : '#include <stdio.h>')
|
||||
|
Loading…
Reference in New Issue
Block a user