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

Unified Diff: third_party/tcmalloc/include/config.h

Issue 2347823005: Fix standalone VM build for Android for tcmalloc. (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | third_party/tcmalloc/tcmalloc.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tcmalloc/include/config.h
diff --git a/third_party/tcmalloc/include/config.h b/third_party/tcmalloc/include/config.h
index da40dc62515210db21927c54617d76a65df95a0d..2cd633ac2f35dfd0db4240869a584a0d0fda64cb 100644
--- a/third_party/tcmalloc/include/config.h
+++ b/third_party/tcmalloc/include/config.h
@@ -85,7 +85,9 @@
#define HAVE_GETPAGESIZE 1
/* Define to 1 if you have the <glob.h> header file. */
+#if !defined(__ANDROID__)
#define HAVE_GLOB_H 1
+#endif
/* Define to 1 if you have the <grp.h> header file. */
#define HAVE_GRP_H 1
@@ -170,7 +172,9 @@
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/syscall.h> header file. */
+#if !defined(__ANDROID__)
#define HAVE_SYS_SYSCALL_H 1
+#endif
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
@@ -203,7 +207,9 @@
#define HAVE___ATTRIBUTE__ 1
/* Define to 1 if compiler supports __environ */
+#if !defined(__ANDROID__)
#define HAVE___ENVIRON 1
+#endif
/* Define to 1 if the system has the type `__int64'. */
/* #undef HAVE___INT64 */
« no previous file with comments | « no previous file | third_party/tcmalloc/tcmalloc.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698