summaryrefslogtreecommitdiffstats
path: root/cc/stubs/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/stubs/config.h')
-rw-r--r--cc/stubs/config.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/cc/stubs/config.h b/cc/stubs/config.h
new file mode 100644
index 0000000..5f1e02f
--- /dev/null
+++ b/cc/stubs/config.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CC_STUBS_CONFIG_H_
+#define CC_STUBS_CONFIG_H_
+
+// Chromium's LOG() macro collides with one from WTF.
+
+#if INSIDE_WEBKIT_BUILD
+#include "Source/WTF/config.h"
+#else
+#include "third_party/WebKit/Source/WTF/config.h"
+#endif
+#ifdef LOG
+#undef LOG
+#endif
+
+#endif // CC_STUBS_CONFIG_H_