Index: third_party/tcmalloc/chromium/src/config_freebsd.h |
=================================================================== |
--- third_party/tcmalloc/chromium/src/config_freebsd.h (revision 94429) |
+++ third_party/tcmalloc/chromium/src/config_freebsd.h (working copy) |
@@ -190,6 +190,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 */ |
@@ -248,6 +255,10 @@ |
#define PRIxS "lx" |
#endif |
+/* Mark the systems where we know it's bad if pthreads runs too |
+ early before main (before threads are initialized, presumably). */ |
+#define PTHREADS_CRASHES_IF_RUN_TOO_EARLY 1 |
+ |
/* Define to necessary symbol if this constant uses a non-standard name on |
your system. */ |
/* #undef PTHREAD_CREATE_JOINABLE */ |