Skip to content

Commit c2bc0e1

Browse files
committed
Marcro defined: DAKING_HAS_TSAN.
1 parent fa514ce commit c2bc0e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/daking/MPSC_queue.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ SOFTWARE.
3131

3232

3333
#ifndef DAKING_HAS_TSAN
34-
# if defined(__SANITIZE_THREAD__) || (defined(__has_feature) && __has_feature(thread_sanitizer))
34+
# if defined(__SANITIZE_THREAD__)
3535
# include <sanitizer/tsan_interface.h>
3636
extern "C" {
3737
void AnnotateBenignRaceSized(const char* f, int l, const volatile void* mem, unsigned int size, const char* desc);

tests/test_MPSC.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include "gtest/gtest.h"
2-
#include "include/MPSC_queue.hpp"
2+
#include "daking/MPSC_queue.hpp"
33
#include <thread>
44
#include <vector>
55
#include <numeric>

0 commit comments

Comments
 (0)