mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
binpac: Remove argument from BINPAC_LSAN_DISABLE macro to fix warning on Windows
This commit is contained in:
parent
5264b957f1
commit
e05a0b8748
1 changed files with 2 additions and 2 deletions
|
@ -219,9 +219,9 @@ void usage()
|
|||
// FreeBSD doesn't support LeakSanitizer
|
||||
#if defined(USING_ASAN) && ! defined(__FreeBSD__)
|
||||
#include <sanitizer/lsan_interface.h>
|
||||
#define BINPAC_LSAN_DISABLE(x) __lsan_disable(x)
|
||||
#define BINPAC_LSAN_DISABLE() __lsan_disable()
|
||||
#else
|
||||
#define BINPAC_LSAN_DISABLE(x)
|
||||
#define BINPAC_LSAN_DISABLE()
|
||||
#endif
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue