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

@ -283,6 +283,7 @@ inline uint64_t htonll(uint64_t i)
#else
#ifndef _MSC_VER
inline double ntohd(double d)
{
assert(sizeof(d) == 8);
@ -328,6 +329,7 @@ inline float htonf(float f)
{
return ntohf(f);
}
#endif
#ifndef HAVE_BYTEORDER_64
inline uint64_t ntohll(uint64_t i)