1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-20 00:15:31 +00:00

[meson] Another try to fix build on Windows. Refs #140

This commit is contained in:
Witold Filipczyk 2022-03-13 17:05:41 +01:00
parent eb226fcc5e
commit 27983d6038

View File

@ -166,8 +166,13 @@ conf_data.set10('HAVE_NET_IF_H', compiler.has_header('net/if.h'))
conf_data.set10('HAVE_STDINT_H', compiler.has_header('stdint.h'))
conf_data.set10('HAVE_INTTYPES_H', compiler.has_header('inttypes.h'))
conf_data.set('HAVE_PWD_H', compiler.has_header('pwd.h'))
conf_data.set('HAVE_TERMIOS_H', compiler.has_header('termios.h'))
if compiler.has_header('pwd.h')
conf_data.set('HAVE_PWD_H', 1)
endif
if compiler.has_header('termios.h')
conf_data.set('HAVE_TERMIOS_H', 1)
endif
conf_data.set10('HAVE_POLL_H', compiler.has_header('poll.h'))
conf_data.set10('HAVE_SYS_TYPES_H', compiler.has_header('sys/types.h'))