From 8ccf722629b08f2a06b2cadbdc3d0c9dc885e25d Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Wed, 13 May 2009 17:58:43 +0100 Subject: Apply fixes for webkit bugs 24776 and 25616 to add ENABLE(DATABASE) guards. This makes the macro work, so ENABLE_DATABASE can be toggled in config.h and the JavaScriptCore.derived.mk or V8Bindings.derived.mk. --- WebCore/storage/SQLError.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'WebCore/storage/SQLError.h') diff --git a/WebCore/storage/SQLError.h b/WebCore/storage/SQLError.h index 69c1228..b6ebb5c 100644 --- a/WebCore/storage/SQLError.h +++ b/WebCore/storage/SQLError.h @@ -29,6 +29,8 @@ #ifndef SQLError_h #define SQLError_h +#if ENABLE(DATABASE) + #include "PlatformString.h" #include @@ -49,4 +51,6 @@ private: } +#endif + #endif // SQLError_h -- cgit v1.1