Index: third_party/tcmalloc/chromium/src/config_win.h |
=================================================================== |
--- third_party/tcmalloc/chromium/src/config_win.h (revision 94429) |
+++ third_party/tcmalloc/chromium/src/config_win.h (working copy) |
@@ -220,6 +220,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 |
@@ -267,6 +274,10 @@ |
/* printf format code for printing a size_t and ssize_t */ |
#define PRIxS "Ix" |
+/* 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 |