summaryrefslogtreecommitdiffstats
path: root/webkit/port/bindings/v8/v8_binding.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-22 22:38:59 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-22 22:38:59 +0000
commitf11ef8765d6d48dd0cf73c7388aeaf2a2de3a1f7 (patch)
treeb9617d9ec35522aa56557936648db997e1a2c256 /webkit/port/bindings/v8/v8_binding.h
parent29f9fd0ec34b36c3cfe9733b46947365933d061e (diff)
downloadchromium_src-f11ef8765d6d48dd0cf73c7388aeaf2a2de3a1f7.zip
chromium_src-f11ef8765d6d48dd0cf73c7388aeaf2a2de3a1f7.tar.gz
chromium_src-f11ef8765d6d48dd0cf73c7388aeaf2a2de3a1f7.tar.bz2
Get the majority of the files in V8Bindings/ building.
The rest are excluded from the linux build because they include windowisms; this will be fixed later. Also, random linux compile fixes. Extra qualifiers, unused variables, et cetera. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1254 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/bindings/v8/v8_binding.h')
-rw-r--r--webkit/port/bindings/v8/v8_binding.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/webkit/port/bindings/v8/v8_binding.h b/webkit/port/bindings/v8/v8_binding.h
index 922205d..92f1186 100644
--- a/webkit/port/bindings/v8/v8_binding.h
+++ b/webkit/port/bindings/v8/v8_binding.h
@@ -30,6 +30,8 @@
#ifndef V8_BINDING_H__
#define V8_BINDING_H__
+#include "build/build_config.h"
+
#include <v8.h>
#include "PlatformString.h"
#include "MathExtras.h"
@@ -41,7 +43,14 @@
#include "CString.h"
#pragma warning(pop)
+#if defined(OS_LINUX)
+// Use the platform.h for linux.
+#include "common/unicode/plinux.h"
+#elif defined(OS_WIN) || defined(OS_MACOSX)
+// WebKit ships a hacked up version of one of the ICU header files, with all
+// options set for OSX.
#include "platform.h"
+#endif
namespace WebCore {