Removed an MSVC specific hack, after discussing with jvprat. It seems that MSVC was trying to add the parenthesis after ENABLE_##ID to the check...
svn-id: r32347
This commit is contained in:
parent
649f439fb6
commit
057af1000f
1 changed files with 2 additions and 8 deletions
|
@ -82,16 +82,10 @@ extern int pluginTypeVersions[PLUGIN_TYPE_MAX];
|
|||
#define DYNAMIC_PLUGIN 2
|
||||
|
||||
#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
|
||||
(defined( ENABLE_##ID ) && !PLUGIN_ENABLED_DYNAMIC(ID))
|
||||
|
||||
#define PLUGIN_ENABLED_DYNAMIC(ID) \
|
||||
(defined(ENABLE_##ID) && (ENABLE_##ID == DYNAMIC_PLUGIN) && defined(DYNAMIC_MODULES))
|
||||
(defined( ENABLE_##ID ) && (ENABLE_##ID == DYNAMIC_PLUGIN) && defined(DYNAMIC_MODULES))
|
||||
|
||||
/**
|
||||
* REGISTER_PLUGIN_STATIC is a convenience macro which is used to declare
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue