mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Rewrote usages of define(_MSC_VER) to ifdef _MSC_VER
This commit is contained in:
parent
5cdc6e150e
commit
a105ea9d80
6 changed files with 17 additions and 19 deletions
|
@ -3,7 +3,7 @@
|
|||
#include "zeek/plugin/Manager.h"
|
||||
|
||||
#include <dirent.h>
|
||||
#if ! defined(_MSC_VER)
|
||||
#ifndef _MSC_VER
|
||||
#include <dlfcn.h>
|
||||
#include <glob.h>
|
||||
#endif
|
||||
|
@ -163,7 +163,7 @@ bool Manager::ActivateDynamicPluginInternal(const std::string& name, bool ok_if_
|
|||
std::vector<std::string>* errors)
|
||||
{
|
||||
// Loading dynamic plugins is not currently supported on Windows platform.
|
||||
#if defined(_MSC_VER)
|
||||
#ifdef _MSC_VER
|
||||
return false;
|
||||
#else
|
||||
errors->clear(); // caller should pass it in empty, but just to be sure
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue