summaryrefslogtreecommitdiffstats
path: root/WebKit/win/ForEachCoClass.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/win/ForEachCoClass.h')
-rw-r--r--WebKit/win/ForEachCoClass.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/WebKit/win/ForEachCoClass.h b/WebKit/win/ForEachCoClass.h
index 94976e6..e1eeac1 100644
--- a/WebKit/win/ForEachCoClass.h
+++ b/WebKit/win/ForEachCoClass.h
@@ -31,11 +31,17 @@
#include "ProgIDMacros.h"
+#if ENABLE(DATABASE)
+#define WEB_DATABASE_MANAGER(macro) macro(WebDatabaseManager)
+#else
+#define WEB_DATABASE_MANAGER(macro)
+#endif
+
// Items may only be added to the end of this macro. No items may be removed from it.
#define FOR_EACH_COCLASS(macro) \
macro(CFDictionaryPropertyBag) \
macro(WebCache) \
- macro(WebDatabaseManager) \
+ WEB_DATABASE_MANAGER(macro) \
macro(WebDownload) \
macro(WebError) \
macro(WebHistory) \