diff options
author | Filippos Karapetis | 2008-05-28 20:31:01 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-05-28 20:31:01 +0000 |
commit | c9fd5fef7645cc7ba6e14ddfeaab91d941f3b8f7 (patch) | |
tree | f445ac9883ba34455aad9b46b24afea94678fa28 /base | |
parent | 885fa54f28df837c2045e4d8405e1ab0de60a9e3 (diff) | |
download | scummvm-rg350-c9fd5fef7645cc7ba6e14ddfeaab91d941f3b8f7.tar.gz scummvm-rg350-c9fd5fef7645cc7ba6e14ddfeaab91d941f3b8f7.tar.bz2 scummvm-rg350-c9fd5fef7645cc7ba6e14ddfeaab91d941f3b8f7.zip |
Added a note about the MSVC quirk with the spaces around ENABLE_##ID
svn-id: r32351
Diffstat (limited to 'base')
-rw-r--r-- | base/plugins.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/base/plugins.h b/base/plugins.h index 2eaa290ed7..aef95a6650 100644 --- a/base/plugins.h +++ b/base/plugins.h @@ -81,6 +81,12 @@ extern int pluginTypeVersions[PLUGIN_TYPE_MAX]; #define STATIC_PLUGIN 1 #define DYNAMIC_PLUGIN 2 +// Note: The spaces around ENABLE_##ID have been added on purpose for +// MSVC. For some reason, MSVC tries to add the parenthesis after +// ENABLE_##ID to the check, thus making it false all the time. +// Please do NOT remove them, otherwise no engine plugins will be +// registered under MSVC + #define PLUGIN_ENABLED_STATIC(ID) \ (defined( ENABLE_##ID ) && !PLUGIN_ENABLED_DYNAMIC(ID)) |