summaryrefslogtreecommitdiff
path: root/src/mongo/watchdog/watchdog_test.cpp
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2023-05-16 15:13:54 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-17 20:35:57 +0000
commitd2a24d73cb763b1564c8907bf293c467aabb5b6c (patch)
tree0e926ce7717864a2b4a2b8f56e06b562bf02780b /src/mongo/watchdog/watchdog_test.cpp
parente90dcb18de438b6b6ab02b2c921463fd35b866cb (diff)
downloadmongo-d2a24d73cb763b1564c8907bf293c467aabb5b6c.tar.gz
SERVER-77193 Centralize the macro definition of __has_feature into one place
Diffstat (limited to 'src/mongo/watchdog/watchdog_test.cpp')
-rw-r--r--src/mongo/watchdog/watchdog_test.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/watchdog/watchdog_test.cpp b/src/mongo/watchdog/watchdog_test.cpp
index aa096f3dd09..090731c9cd6 100644
--- a/src/mongo/watchdog/watchdog_test.cpp
+++ b/src/mongo/watchdog/watchdog_test.cpp
@@ -214,11 +214,9 @@ public:
}
// Ignore data races in this function when running with TSAN, races are acceptable here
-#if defined(__has_feature)
#if __has_feature(thread_sanitizer)
__attribute__((no_sanitize("thread")))
#endif
-#endif
void
setSignalOnCount(int c) {
_wait = c;