"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "auxil/highwayhash/highwayhash/os_specific.cc" between
zeek-4.0.2.tar.gz and zeek-4.0.3.tar.gz

About: Zeek (formerly Bro) is a flexible network analysis framework focusing on network security monitoring. LTS (Long Term Support) release.

os_specific.cc  (zeek-4.0.2):os_specific.cc  (zeek-4.0.3)
skipping to change at line 43 skipping to change at line 43
#endif #endif
#ifdef __linux__ #ifdef __linux__
#define OS_LINUX 1 #define OS_LINUX 1
#include <sched.h> #include <sched.h>
#include <sys/time.h> #include <sys/time.h>
#else #else
#define OS_LINUX 0 #define OS_LINUX 0
#endif #endif
#if defined(__APPLE__) || defined(__MACH__) // __MACH__ also defined for GNU/Hur #if defined(__APPLE__) || \
d defined(__MACH__) // __MACH__ also defined for GNU/Hurd
#define OS_MAC 1 #define OS_MAC 1
#include "os_mac.cc"
#include <mach/mach.h> #include <mach/mach.h>
#include <mach/mach_time.h> #include <mach/mach_time.h>
//
#include "highwayhash/os_mac.cc"
#else #else
#define OS_MAC 0 #define OS_MAC 0
#endif #endif
#ifdef __FreeBSD__ #ifdef __FreeBSD__
#define OS_FREEBSD 1 #define OS_FREEBSD 1
#include <sys/param.h>
#include <sys/cpuset.h> #include <sys/cpuset.h>
#include <sys/param.h>
#include <unistd.h> #include <unistd.h>
#else #else
#define OS_FREEBSD 0 #define OS_FREEBSD 0
#endif #endif
namespace highwayhash { namespace highwayhash {
#define CHECK(condition) \ #define CHECK(condition) \
while (!(condition)) { \ while (!(condition)) { \
printf("os_specific CHECK failed at line %d\n", __LINE__); \ printf("os_specific CHECK failed at line %d\n", __LINE__); \
 End of changes. 5 change blocks. 
4 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)