meson: fix strtof locale support check

Fixes: d1992255bb "meson: Add build Intel "anv" vulkan driver"
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
Eric Engestrom 2017-11-21 14:24:01 +00:00
parent 71e630753e
commit ab0809e552

View 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;
}''',