Index: third_party/tcmalloc/chromium/src/gperftools/tcmalloc.h |
diff --git a/third_party/tcmalloc/chromium/src/google/tcmalloc.h.in b/third_party/tcmalloc/chromium/src/gperftools/tcmalloc.h |
similarity index 94% |
copy from third_party/tcmalloc/chromium/src/google/tcmalloc.h.in |
copy to third_party/tcmalloc/chromium/src/gperftools/tcmalloc.h |
index c887559c65d5f602685dd8285572063f8c089561..7c889170bade4ae356fb7c391c2aa0d328af823d 100644 |
--- a/third_party/tcmalloc/chromium/src/google/tcmalloc.h.in |
+++ b/third_party/tcmalloc/chromium/src/gperftools/tcmalloc.h |
@@ -48,10 +48,10 @@ |
#endif |
// Define the version number so folks can check against it |
-#define TC_VERSION_MAJOR @TC_VERSION_MAJOR@ |
-#define TC_VERSION_MINOR @TC_VERSION_MINOR@ |
-#define TC_VERSION_PATCH "@TC_VERSION_PATCH@" |
-#define TC_VERSION_STRING "google-perftools @TC_VERSION_MAJOR@.@TC_VERSION_MINOR@@TC_VERSION_PATCH@" |
+#define TC_VERSION_MAJOR 2 |
+#define TC_VERSION_MINOR 0 |
+#define TC_VERSION_PATCH "" |
+#define TC_VERSION_STRING "gperftools 2.0" |
#include <stdlib.h> // for struct mallinfo, if it's defined |
@@ -92,7 +92,7 @@ extern "C" { |
PERFTOOLS_DLL_DECL void tc_malloc_stats(void) __THROW; |
PERFTOOLS_DLL_DECL int tc_mallopt(int cmd, int value) __THROW; |
-#if @ac_cv_have_struct_mallinfo@ |
+#ifdef HAVE_STRUCT_MALLINFO |
PERFTOOLS_DLL_DECL struct mallinfo tc_mallinfo(void) __THROW; |
#endif |