diff options
author | Anthony G. Basile <[email protected]> | 2012-07-24 12:59:54 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2012-07-24 13:00:47 -0700 |
commit | f35e380dd240b418e17a179af73bbab74ceea784 (patch) | |
tree | 73d09f686239d1b079d363d901370761db932f6d /src/mesa/main/imports.c | |
parent | 1ffac44e83a6fa6f486c6493e1d4eda259938ebb (diff) |
Fix compile time errors when building against uclibc
Mesa misses a few checks when compiling on a uclibc system
which cause it to fall back on glibc-ism. This patch
addresses those issues.
Acked-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Signed-off-by: Anthony G. Basile <[email protected]>
Diffstat (limited to 'src/mesa/main/imports.c')
-rw-r--r-- | 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 444de875cf7..0d6b56a518a 100644 --- a/src/mesa/main/imports.c +++ b/src/mesa/main/imports.c @@ -542,7 +542,7 @@ float _mesa_strtof( const char *s, char **end ) { #if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && \ - !defined(ANDROID) && !defined(__HAIKU__) + !defined(ANDROID) && !defined(__HAIKU__) && !defined(__UCLIBC__) static locale_t loc = NULL; if (!loc) { loc = newlocale(LC_CTYPE_MASK, "C", NULL); |