From: Eric Engestrom Date: Tue, 21 Nov 2017 14:24:01 +0000 (+0000) Subject: meson: fix strtof locale support check X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ab0809e5529725bd0af6f7b6ce06415020b9d32e;p=mesa.git meson: fix strtof locale support check Fixes: d1992255bb29054fa5176 "meson: Add build Intel "anv" vulkan driver" Signed-off-by: Eric Engestrom Reviewed-by: Dylan Baker --- 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; }''',