summaryrefslogtreecommitdiffstats
path: root/base/profiler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/profiler.cc')
-rw-r--r--base/profiler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/profiler.cc b/base/profiler.cc
index 1f28a73..e291117 100644
--- a/base/profiler.cc
+++ b/base/profiler.cc
@@ -5,7 +5,7 @@
#include "base/profiler.h"
#include "base/string_util.h"
-#if defined(USE_TCMALLOC)
+#if defined(USE_TCMALLOC) && defined(OS_LINUX)
#include "third_party/tcmalloc/chromium/src/google/profiler.h"
#endif