diff options
Diffstat (limited to 'src/atomic.h')
-rw-r--r-- | src/atomic.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/atomic.h b/src/atomic.h index ad5303b..a241a03 100644 --- a/src/atomic.h +++ b/src/atomic.h @@ -9,7 +9,6 @@ #define BFS_ATOMIC_H #include "prelude.h" -#include "sanity.h" #include <stdatomic.h> /** @@ -87,7 +86,7 @@ /** * Shorthand for atomic_thread_fence(). */ -#if SANITIZE_THREAD +#if __SANITIZE_THREAD__ // TSan doesn't support fences: https://github.com/google/sanitizers/issues/1415 # define thread_fence(obj, order) \ fetch_add(obj, 0, order) |