Index: third_party/tcmalloc/chromium/src/config_linux.h |
=================================================================== |
--- third_party/tcmalloc/chromium/src/config_linux.h (revision 94429) |
+++ third_party/tcmalloc/chromium/src/config_linux.h (working copy) |
@@ -188,6 +188,13 @@ |
*/ |
#undef LT_OBJDIR |
+/* Define to 'volatile' if __malloc_hook is declared volatile */ |
+#ifdef __MALLOC_HOOK_VOLATILE |
+#define MALLOC_HOOK_MAYBE_VOLATILE volatile |
+#else |
+#define MALLOC_HOOK_MAYBE_VOLATILE |
+#endif |
+ |
/* Define to 1 if your C compiler doesn't accept -c and -o together. */ |
/* #undef NO_MINUS_C_MINUS_O */ |
@@ -231,6 +238,10 @@ |
/* printf format code for printing a size_t and ssize_t */ |
#define PRIxS "zx" |
+/* Mark the systems where we know it's bad if pthreads runs too |
+ early before main (before threads are initialized, presumably). */ |
+#undef PTHREADS_CRASHES_IF_RUN_TOO_EARLY |
+ |
/* Define to necessary symbol if this constant uses a non-standard name on |
your system. */ |
/* #undef PTHREAD_CREATE_JOINABLE */ |