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

2017-11-21 Thread Dylan Baker
Oops, that's what I get for not copy-n-pasting.
Reviewed-by: Dylan Baker 

Quoting Eric Engestrom (2017-11-21 06:26:03)
> Fixes: d1992255bb29054fa5176 "meson: Add build Intel "anv" vulkan driver"
> Signed-off-by: Eric Engestrom 
> ---
>  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
> 


signature.asc
Description: signature
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


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

2017-11-21 Thread Eric Engestrom
Fixes: d1992255bb29054fa5176 "meson: Add build Intel "anv" vulkan driver"
Signed-off-by: Eric Engestrom 
---
 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

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev