Disable Manager::ActivateDynamicPluginInternal if building on Windows

This commit is contained in:
Tim Wojtulewicz 2022-10-21 15:51:21 -07:00 committed by Tomer Lev
parent 0c61bcbfcd
commit 45fa4c0dc4

View file

@ -161,6 +161,10 @@ void Manager::SearchDynamicPlugins(const std::string& dir)
bool Manager::ActivateDynamicPluginInternal(const std::string& name, bool ok_if_not_found,
std::vector<std::string>* errors)
{
#if defined(_MSC_VER)
return false;
#endif
errors->clear(); // caller should pass it in empty, but just to be sure
dynamic_plugin_map::iterator m = dynamic_plugins.find(util::strtolower(name));