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

[meson] Test for mempcpy modified

This commit is contained in:
Witold Filipczyk 2022-03-03 16:20:24 +01:00
parent 47f04d1164
commit fd820d86b0

View File

@ -489,7 +489,7 @@ if compiler.has_function('isdigit', prefix : '#include <ctype.h>')
conf_data.set10('HAVE_ISDIGIT', 1)
endif
if compiler.has_function('mempcpy', prefix : '#include <string.h>')
if compiler.has_function('mempcpy', prefix : '#include <string.h>', args: '-D_GNU_SOURCE')
conf_data.set10('HAVE_MEMPCPY', 1)
endif