From c396694f3b4378c26b1157fa069a60c21080cb08 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 6 May 2008 17:30:52 +0000 Subject: Added a temporary hack to get the engine plugins working under MSVC svn-id: r31904 --- base/plugins.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'base') diff --git a/base/plugins.h b/base/plugins.h index ca08a0c628..ec947ee6ad 100644 --- a/base/plugins.h +++ b/base/plugins.h @@ -106,6 +106,12 @@ public: #define PLUGIN_ENABLED_STATIC(ID) \ (defined(ENABLE_##ID) && !PLUGIN_ENABLED_DYNAMIC(ID)) +// HACK for MSVC +#if defined(_MSC_VER) + #undef PLUGIN_ENABLED_STATIC + #define PLUGIN_ENABLED_STATIC(ID) 1 +#endif + #define PLUGIN_ENABLED_DYNAMIC(ID) \ (defined(ENABLE_##ID) && (ENABLE_##ID == DYNAMIC_PLUGIN) && defined(DYNAMIC_MODULES)) -- cgit v1.2.3