aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/imports.c
diff options
context:
space:
mode:
authorAlexander von Gluck <[email protected]>2012-01-22 12:42:32 -0600
committerIan Romanick <[email protected]>2012-05-17 17:21:44 -0700
commita0f010db1c38258c646748b4313e5aad32f4682c (patch)
tree97fcd66c47d149a8c0f1a7c66ae8ed16e0cbc87f /src/mesa/main/imports.c
parent9de17f5f4d267ffd0b6432519d0d87a8dc9d29e3 (diff)
mesa: Don't use newlocale on Haiku
NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Brian Paul <[email protected]> (cherry picked from commit 02a1f9f14d8c2c5d9f0a2592b4a52450c9e7ccfe)
Diffstat (limited to 'src/mesa/main/imports.c')
-rw-r--r--src/mesa/main/imports.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index 2469e426595..d3727efbc38 100644
--- a/src/mesa/main/imports.c
+++ b/src/mesa/main/imports.c
@@ -767,7 +767,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);