From ab0809e5529725bd0af6f7b6ce06415020b9d32e Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 21 Nov 2017 14:24:01 +0000 Subject: meson: fix strtof locale support check Fixes: d1992255bb29054fa5176 "meson: Add build Intel "anv" vulkan driver" Signed-off-by: Eric Engestrom Reviewed-by: Dylan Baker --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 6c273ed20cf..53013e47ec4 100644 --- a/meson.build +++ b/meson.build @@ -619,7 +619,7 @@ if cc.links(''' const char *s = "1.0"; char *end; double d = strtod_l(s, end, loc); - float f = strtod_l(s, end, loc); + float f = strtof_l(s, end, loc); freelocale(loc); return 0; }''', -- cgit v1.2.3