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..bd30d0e57ef507f13e0429195cf4bb856e245e84 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__) |
+#include <unwind.h> |
Dai Mikurube (NOT FULLTIME)
2013/05/08 14:53:25
Is <unwind.h> really used?
bulach
2013/05/08 16:09:10
Done.
|
#else |
typedef int ucontext_t; // just to quiet the compiler, mostly |
#endif |