mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Move binpac code into the main Zeek repository
This is based on commit 48f75b5f6415fe9d597e3e991cec635b1bc400dc from the binpac repository.
This commit is contained in:
parent
a2680d5eca
commit
ff26835976
112 changed files with 14586 additions and 8 deletions
14
tools/binpac/src/pac_dbg.h
Normal file
14
tools/binpac/src/pac_dbg.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
#ifndef pac_dbg_h
|
||||
#define pac_dbg_h
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
||||
extern bool FLAGS_pac_debug;
|
||||
|
||||
#define ASSERT(x) assert(x)
|
||||
#define DEBUG_MSG(...) \
|
||||
if ( FLAGS_pac_debug ) \
|
||||
fprintf(stderr, __VA_ARGS__)
|
||||
|
||||
#endif /* pac_dbg_h */
|
Loading…
Add table
Add a link
Reference in a new issue