mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 17:06:30 +00:00
util: make __asan_* prototypes available for ENHANCED printf debuging
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user