Compile Zeek with MSVC

Allow Zeek to be embedded in another project
This commit is contained in:
Elad Solomon 2021-06-27 17:12:56 +00:00 committed by Tomer Lev
parent 2bd4af7477
commit 3a80b79497
53 changed files with 724 additions and 153 deletions

View file

@ -6,7 +6,10 @@
#include <unistd.h>
#ifdef HAVE_GETOPT_H
#include "zeek/ScriptProfile.h"
#include "zeek/script_opt/ScriptOpt.h"
#if defined(HAVE_GETOPT_H) && ! defined(_MSC_VER)
#include <getopt.h>
#endif
@ -15,7 +18,6 @@
#include <cstdlib>
#include <sstream>
#include "zeek/ScriptProfile.h"
#include "zeek/logging/writers/ascii/Ascii.h"
#include "zeek/script_opt/ScriptOpt.h"