diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-26 00:31:08 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-26 00:31:08 +0000 |
commit | 61a9b2d8a766f0eb9e790385939589797bac37f2 (patch) | |
tree | 5d96266683dc64fc6b37e6839f4ed909a9922db7 /base/leak_annotations.h | |
parent | 00d721c144d35882dfaf24b3869e95a8d6404ee5 (diff) | |
download | chromium_src-61a9b2d8a766f0eb9e790385939589797bac37f2.zip chromium_src-61a9b2d8a766f0eb9e790385939589797bac37f2.tar.gz chromium_src-61a9b2d8a766f0eb9e790385939589797bac37f2.tar.bz2 |
Merge the LINUX_TC_MALLOC #define with the existing TC_MALLOC #define.
BUG=36687
TEST=about:tcmalloc, etc, works when tcmalloc is enabled on Linux.
Review URL: http://codereview.chromium.org/660118
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40080 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/leak_annotations.h')
-rw-r--r-- | base/leak_annotations.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/leak_annotations.h b/base/leak_annotations.h index f3d3677..8b5c2ad 100644 --- a/base/leak_annotations.h +++ b/base/leak_annotations.h @@ -5,7 +5,9 @@ #ifndef BASE_LEAK_ANNOTATIONS_H_ #define BASE_LEAK_ANNOTATIONS_H_ -#if defined(LINUX_USE_TCMALLOC) +#include "build/build_config.h" + +#if defined(OS_LINUX) && defined(USE_TCMALLOC) #include "third_party/tcmalloc/chromium/src/google/heap-checker.h" |