From 27821349852420c8e951bbf8f89876995794028f Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Thu, 3 Mar 2022 16:26:24 +0100 Subject: [PATCH] [meson] check for strtoul --- meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meson.build b/meson.build index d79e45d4..9aee8e67 100644 --- a/meson.build +++ b/meson.build @@ -704,6 +704,10 @@ if compiler.has_function('mkstemps', prefix: '#include ', args: '-D_GN conf_data.set('HAVE_MKSTEMPS', 1) endif +if compiler.has_function('strtoul', prefix: '#include ') + conf_data.set('HAVE_STRTOUL', 1) +endif + if compiler.compiles('int a; typeof(a) b;') conf_data.set('HAVE_TYPEOF', 1) endif