mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
util: make __asan_* prototypes available for ENHANCED printf debuging
This commit is contained in:
parent
b7fc7ac6a1
commit
0ba2b955af
@ -68,6 +68,10 @@
|
||||
# define LOG_CALLSTACK_TO_FILE(fp) log_callstack_to_file(fp, __func__, __LINE__)
|
||||
#endif
|
||||
|
||||
#if defined(__has_include) && __has_include("sanitizer/asan_interface.h")
|
||||
# include "sanitizer/asan_interface.h"
|
||||
#endif
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "log.h.generated.h"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user