1
0
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:
Witold Filipczyk 2023-11-08 20:10:04 +01:00
parent a76aa91566
commit a6af407dc0

View File

@ -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>')