mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Disable Manager::ActivateDynamicPluginInternal if building on Windows
This commit is contained in:
parent
0c61bcbfcd
commit
45fa4c0dc4
1 changed files with 4 additions and 0 deletions
|
@ -161,6 +161,10 @@ void Manager::SearchDynamicPlugins(const std::string& dir)
|
||||||
bool Manager::ActivateDynamicPluginInternal(const std::string& name, bool ok_if_not_found,
|
bool Manager::ActivateDynamicPluginInternal(const std::string& name, bool ok_if_not_found,
|
||||||
std::vector<std::string>* errors)
|
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
|
errors->clear(); // caller should pass it in empty, but just to be sure
|
||||||
|
|
||||||
dynamic_plugin_map::iterator m = dynamic_plugins.find(util::strtolower(name));
|
dynamic_plugin_map::iterator m = dynamic_plugins.find(util::strtolower(name));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue