Index: third_party/tcmalloc/chromium/src/stacktrace_config.h |
=================================================================== |
--- third_party/tcmalloc/chromium/src/stacktrace_config.h (revision 94429) |
+++ third_party/tcmalloc/chromium/src/stacktrace_config.h (working copy) |
@@ -46,8 +46,11 @@ |
#ifndef BASE_STACKTRACE_CONFIG_H_ |
#define BASE_STACKTRACE_CONFIG_H_ |
-// First, the i386 and x86_64 case. |
-#if (defined(__i386__) || defined(__x86_64__)) && __GNUC__ >= 2 |
+#ifdef __native_client__ |
+# define STACKTRACE_INL_HEADER "base/stacktrace_nacl-inl.h" |
+ |
+// i386 and x86_64 case. |
+#elif (defined(__i386__) || defined(__x86_64__)) && __GNUC__ >= 2 |
# if !defined(NO_FRAME_POINTER) |
# define STACKTRACE_INL_HEADER "stacktrace_x86-inl.h" |
# define STACKTRACE_SKIP_CONTEXT_ROUTINES 1 |