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

[meson] check for strtoul

This commit is contained in:
Witold Filipczyk 2022-03-03 16:26:24 +01:00
parent fd820d86b0
commit 2782134985

View File

@ -704,6 +704,10 @@ if compiler.has_function('mkstemps', prefix: '#include <stdlib.h>', args: '-D_GN
conf_data.set('HAVE_MKSTEMPS', 1)
endif
if compiler.has_function('strtoul', prefix: '#include <stdlib.h>')
conf_data.set('HAVE_STRTOUL', 1)
endif
if compiler.compiles('int a; typeof(a) b;')
conf_data.set('HAVE_TYPEOF', 1)
endif