meson: fix strtof locale support check
authorEric Engestrom <eric.engestrom@imgtec.com>
Tue, 21 Nov 2017 14:24:01 +0000 (14:24 +0000)
committerEric Engestrom <eric.engestrom@imgtec.com>
Thu, 23 Nov 2017 09:44:16 +0000 (09:44 +0000)
Fixes: d1992255bb29054fa5176 "meson: Add build Intel "anv" vulkan driver"
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
meson.build

index 6c273ed20cfefa1c09ae0befaf7dff1c678f800a..53013e47ec49405d9896f77d8da19a0bea99233e 100644 (file)
@@ -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;
     }''',