Mesa (master): mesa: Don't use newlocale on Haiku

Brian Paul brianp at kemper.freedesktop.org
Tue Jan 24 18:16:22 UTC 2012


Module: Mesa
Branch: master
Commit: 02a1f9f14d8c2c5d9f0a2592b4a52450c9e7ccfe
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=02a1f9f14d8c2c5d9f0a2592b4a52450c9e7ccfe

Author: Alexander von Gluck <kallisti5 at unixzen.com>
Date:   Sun Jan 22 12:42:32 2012 -0600

mesa: Don't use newlocale on Haiku

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Brian Paul <brianp at vmware.com>

---

 src/mesa/main/imports.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index bbc6ac6..82713a1 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);




More information about the mesa-commit mailing list