[Mesa-dev] [PATCH 4/5] mesa: Don't use newlocale on Haiku

Alexander von Gluck kallisti5 at unixzen.com
Sun Jan 22 10:42:32 PST 2012


---
  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);
-- 
1.7.5.4





More information about the mesa-dev mailing list