From 02a1f9f14d8c2c5d9f0a2592b4a52450c9e7ccfe Mon Sep 17 00:00:00 2001 From: Alexander von Gluck Date: Sun, 22 Jan 2012 12:42:32 -0600 Subject: mesa: Don't use newlocale on Haiku NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Brian Paul --- src/mesa/main/imports.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa') diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index bbc6ac6e240..82713a13b17 100644 --- a/src/mesa/main/imports.c +++ b/src/mesa/main/imports.c @@ -764,7 +764,7 @@ float _mesa_strtof( const char *s, char **end ) { #if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && \ - !defined(ANDROID) + !defined(ANDROID) && !defined(__HAIKU__) static locale_t loc = NULL; if (!loc) { loc = newlocale(LC_CTYPE_MASK, "C", NULL); -- cgit v1.2.3