Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1942)

Unified Diff: third_party/mesa/MesaLib/src/mesa/main/imports.c

Issue 10825442: Fix the compile errors for mesa on Android (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/mesa/MesaLib/src/mesa/main/imports.h ('k') | third_party/mesa/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mesa/MesaLib/src/mesa/main/imports.c
diff --git a/third_party/mesa/MesaLib/src/mesa/main/imports.c b/third_party/mesa/MesaLib/src/mesa/main/imports.c
index 46e5c932d0f5d2cc2db995232e47bb0a3c52fa95..2cbb09ddef5f7aed10d5870e7ef33a2c0363f245 100644
--- a/third_party/mesa/MesaLib/src/mesa/main/imports.c
+++ b/third_party/mesa/MesaLib/src/mesa/main/imports.c
@@ -756,7 +756,8 @@ _mesa_strdup( const char *s )
float
_mesa_strtof( const char *s, char **end )
{
-#if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__)
+#if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && \
+ !defined(ANDROID)
static locale_t loc = NULL;
if (!loc) {
loc = newlocale(LC_CTYPE_MASK, "C", NULL);
« no previous file with comments | « third_party/mesa/MesaLib/src/mesa/main/imports.h ('k') | third_party/mesa/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698