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..eb6dc4281a5ec80b6e85cb0fcb63aef751c6429a 100644 |
--- a/third_party/tcmalloc/chromium/src/profiler.cc |
+++ b/third_party/tcmalloc/chromium/src/profiler.cc |
@@ -50,6 +50,8 @@ |
#elif defined(HAVE_CYGWIN_SIGNAL_H) |
#include <cygwin/signal.h> |
typedef ucontext ucontext_t; |
+#elif defined(__ANDROID__) |
+// Do not define ucontext_t here. |
#else |
typedef int ucontext_t; // just to quiet the compiler, mostly |
#endif |