Mesa (master): meson: fix strtof locale support check
Eric Engeström
eric_engestrom at kemper.freedesktop.org
Thu Nov 23 09:51:03 UTC 2017
Module: Mesa
Branch: master
Commit: ab0809e5529725bd0af6f7b6ce06415020b9d32e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab0809e5529725bd0af6f7b6ce06415020b9d32e
Author: Eric Engestrom <eric.engestrom at imgtec.com>
Date: Tue Nov 21 14:24:01 2017 +0000
meson: fix strtof locale support check
Fixes: d1992255bb29054fa5176 "meson: Add build Intel "anv" vulkan driver"
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 6c273ed20c..53013e47ec 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;
}''',
More information about the mesa-commit
mailing list