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