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

Dylan Baker dylan at pnwbakers.com
Tue Nov 21 18:52:06 UTC 2017


Oops, that's what I get for not copy-n-pasting.
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>

Quoting Eric Engestrom (2017-11-21 06:26:03)
> 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
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171121/f80830b3/attachment.sig>


More information about the mesa-dev mailing list