aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/strtod.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/glsl/strtod.c')
-rw-r--r--mesalib/src/glsl/strtod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/glsl/strtod.c b/mesalib/src/glsl/strtod.c
index a876e138b..47c1f0ed6 100644
--- a/mesalib/src/glsl/strtod.c
+++ b/mesalib/src/glsl/strtod.c
@@ -45,7 +45,7 @@ double
glsl_strtod(const char *s, char **end)
{
#if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && \
- !defined(__HAIKU__)
+ !defined(__HAIKU__) && !defined(__UCLIBC__)
static locale_t loc = NULL;
if (!loc) {
loc = newlocale(LC_CTYPE_MASK, "C", NULL);