summaryrefslogtreecommitdiffstats
path: root/build/build_config.h
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-26 00:31:08 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-26 00:31:08 +0000
commit61a9b2d8a766f0eb9e790385939589797bac37f2 (patch)
tree5d96266683dc64fc6b37e6839f4ed909a9922db7 /build/build_config.h
parent00d721c144d35882dfaf24b3869e95a8d6404ee5 (diff)
downloadchromium_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 'build/build_config.h')
-rw-r--r--build/build_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/build_config.h b/build/build_config.h
index 0c349c0..29d55b3 100644
--- a/build/build_config.h
+++ b/build/build_config.h
@@ -61,7 +61,7 @@
#endif
// Use tcmalloc
-#if defined(OS_WIN) && !defined(NO_TCMALLOC)
+#if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(NO_TCMALLOC)
#define USE_TCMALLOC 1
#endif