diff --git a/base/plugins.cpp b/base/plugins.cpp index 2340e271127..97f9255c172 100644 --- a/base/plugins.cpp +++ b/base/plugins.cpp @@ -85,6 +85,7 @@ GameSettings Plugin::findGame(const char *gameName) const { #pragma mark - +#ifndef DYNAMIC_MODULES class StaticPlugin : public Plugin { PluginRegistrator *_plugin; public: @@ -107,6 +108,7 @@ public: return (*_plugin->_df)(fslist); } }; +#endif #pragma mark -