mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
bifcl: Remove argument from BIFCL_LSAN_DISABLE macro to fix warning on Windows
This commit is contained in:
parent
4352f0c0bb
commit
0c4676e835
1 changed files with 3 additions and 3 deletions
|
@ -314,9 +314,9 @@ void finish_alternative_mode()
|
||||||
// FreeBSD doesn't support LeakSanitizer
|
// FreeBSD doesn't support LeakSanitizer
|
||||||
#if defined(USING_ASAN) && !defined(__FreeBSD__)
|
#if defined(USING_ASAN) && !defined(__FreeBSD__)
|
||||||
#include <sanitizer/lsan_interface.h>
|
#include <sanitizer/lsan_interface.h>
|
||||||
#define BIFCL_LSAN_DISABLE(x) __lsan_disable(x)
|
#define BIFCL_LSAN_DISABLE() __lsan_disable()
|
||||||
#else
|
#else
|
||||||
#define BIFCL_LSAN_DISABLE(x)
|
#define BIFCL_LSAN_DISABLE()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int main(int argc, char* argv[])
|
int main(int argc, char* argv[])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue