projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02a1f9f
)
glsl: Don't use newlocale on Haiku
author
Alexander von Gluck
<kallisti5@unixzen.com>
Sun, 22 Jan 2012 18:42:38 +0000
(12:42 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 24 Jan 2012 18:00:42 +0000
(11:00 -0700)
NOTE: This is a candidate for the 8.0 branch.
Signed-off-by: Brian Paul <brianp@vmware.com>
src/glsl/strtod.c
patch
|
blob
|
history
diff --git
a/src/glsl/strtod.c
b/src/glsl/strtod.c
index ff34591488cd8785aa70cd8253b2acd249a3c0f7..a876e138b70460a5bec2f8082dd06df0cac006c8 100644
(file)
--- a/
src/glsl/strtod.c
+++ b/
src/glsl/strtod.c
@@
-44,7
+44,8
@@
double
glsl_strtod(const char *s, char **end)
{
-#if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__)
+#if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && \
+ !defined(__HAIKU__)
static locale_t loc = NULL;
if (!loc) {
loc = newlocale(LC_CTYPE_MASK, "C", NULL);