diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-08-27 16:11:40 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-08-28 17:33:20 -0400 |
commit | e19f2a8a4b3103134f06e5f8e5b59b61488c885f (patch) | |
tree | c606a90cfbd24c4ebe69e7c8c49bea9a5c9b7c18 /src/bfstd.h | |
parent | 386fc8817e637fdd52c20e4ace6cc4ea1f1186ed (diff) | |
download | bfs-e19f2a8a4b3103134f06e5f8e5b59b61488c885f.tar.xz |
prelude: Define __SANITIZE_*__
Diffstat (limited to 'src/bfstd.h')
-rw-r--r-- | src/bfstd.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bfstd.h b/src/bfstd.h index 968c0ac..3a15715 100644 --- a/src/bfstd.h +++ b/src/bfstd.h @@ -9,7 +9,6 @@ #define BFS_BFSTD_H #include "prelude.h" -#include "sanity.h" #include <stddef.h> #include <ctype.h> @@ -18,7 +17,7 @@ * Work around https://github.com/llvm/llvm-project/issues/65532 by forcing a * function, not a macro, to be called. */ -#if __FreeBSD__ && SANITIZE_MEMORY +#if __FreeBSD__ && __SANITIZE_MEMORY__ # define BFS_INTERCEPT(fn) (fn) #else # define BFS_INTERCEPT(fn) fn |