diff options
Diffstat (limited to 'webkit/extensions')
-rw-r--r-- | webkit/extensions/v8/heap_profiler_extension.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/extensions/v8/heap_profiler_extension.cc b/webkit/extensions/v8/heap_profiler_extension.cc index e52c8a6..d51d4108 100644 --- a/webkit/extensions/v8/heap_profiler_extension.cc +++ b/webkit/extensions/v8/heap_profiler_extension.cc @@ -6,7 +6,7 @@ #include "base/basictypes.h" -#if defined(LINUX_USE_TCMALLOC) +#if defined(OS_LINUX) && defined(USE_TCMALLOC) #include "third_party/tcmalloc/chromium/src/google/heap-profiler.h" #endif @@ -60,7 +60,7 @@ class HeapProfilerWrapper : public v8::Extension { return v8::Handle<v8::FunctionTemplate>(); } -#if defined(LINUX_USE_TCMALLOC) +#if defined(OS_LINUX) && defined(USE_TCMALLOC) static v8::Handle<v8::Value> HeapProfilerStart(const v8::Arguments& args) { if (args.Length() >= 1 && args[0]->IsString()) { v8::Local<v8::String> js_prefix = args[0]->ToString(); |