meson: check for strdup, strcasecmp, strncasecmp

master
Ariadne Conill 2022-02-21 04:41:08 -06:00
parent cc4ccc1429
commit 40131312ec
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,9 @@ check_functions = [
['HAVE_STRLCAT', 'strlcat', 'string.h'], ['HAVE_STRLCAT', 'strlcat', 'string.h'],
['HAVE_STRLCPY', 'strlcpy', 'string.h'], ['HAVE_STRLCPY', 'strlcpy', 'string.h'],
['HAVE_STRNDUP', 'strndup', 'string.h'], ['HAVE_STRNDUP', 'strndup', 'string.h'],
['HAVE_STRDUP', 'strdup', 'string.h'],
['HAVE_STRNCASECMP', 'strncasecmp', 'strings.h'],
['HAVE_STRCASECMP', 'strcasecmp', 'strings.h'],
] ]
foreach f : check_functions foreach f : check_functions