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

Unified Diff: third_party/tcmalloc/chromium/src/profiler.cc

Issue 14321006: Adds TCMalloc support for Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Just my patch Created 7 years, 8 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
Index: third_party/tcmalloc/chromium/src/profiler.cc
diff --git a/third_party/tcmalloc/chromium/src/profiler.cc b/third_party/tcmalloc/chromium/src/profiler.cc
index dfb6aab52f4a9d7aa0e6e9c9a0a596c24e322efd..24c920c2dd70928c932dd9bd13c0c3f3f180ec1f 100644
--- a/third_party/tcmalloc/chromium/src/profiler.cc
+++ b/third_party/tcmalloc/chromium/src/profiler.cc
@@ -50,7 +50,7 @@
#elif defined(HAVE_CYGWIN_SIGNAL_H)
#include <cygwin/signal.h>
typedef ucontext ucontext_t;
-#else
+#elif !defined(__ANDROID__)
Dai Mikurube (NOT FULLTIME) 2013/05/03 08:53:00 We may want a comment that describes nothing requi
bulach 2013/05/07 14:55:51 added a #include <unwind.h> similar to the cases a
typedef int ucontext_t; // just to quiet the compiler, mostly
#endif
#include <sys/time.h>

Powered by Google App Engine
This is Rietveld 408576698