macOS SDK may have the symbol of strchrnul(), but it is actually available only on macOS 15.4 or later and that fact is codified in string.h. Include the header file using osdep_prefix to check if the function is available on the deployment target.
Signed-off-by: Akihiko Odaki <akihiko.od...@daynix.com> --- Akihiko Odaki (4): meson: Use has_header_symbol() to check getcpu() meson: Remove CONFIG_STATX and CONFIG_STATX_MNT_ID meson: Share common C source prefixes meson: Use osdep_prefix for strchrnul() meson.build | 80 ++++++++++++++++++++++++++----------------------------------- 1 file changed, 34 insertions(+), 46 deletions(-) --- base-commit: 1da8f3a3c53b604edfe0d55e475102640490549e change-id: 20250423-buildsys-84d2feefca6b Best regards, -- Akihiko Odaki <akihiko.od...@daynix.com>