[Mesa-dev] [PATCH mesa] meson: fix strtof locale support check

Eric Engestrom eric.engestrom at imgtec.com
Tue Nov 21 14:26:03 UTC 2017


Fixes: d1992255bb29054fa5176 "meson: Add build Intel "anv" vulkan driver"
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 383ebb366625edf9f262..4918194de48799f594d3 100644
--- a/meson.build
+++ b/meson.build
@@ -597,7 +597,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;
     }''',
-- 
Cheers,
  Eric



More information about the mesa-dev mailing list