summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorAlexander von Gluck <[email protected]>2012-01-22 12:42:32 -0600
committerBrian Paul <[email protected]>2012-01-24 11:00:41 -0700
commit02a1f9f14d8c2c5d9f0a2592b4a52450c9e7ccfe (patch)
tree02259c94ea7e74f6e3a24948b0de6a7b8d44b436 /src/mesa/main
parent32876a452f368529392619b1d2552594317e8420 (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]>
Diffstat (limited to 'src/mesa/main')
-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 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);