From d2a24d73cb763b1564c8907bf293c467aabb5b6c Mon Sep 17 00:00:00 2001 From: Mark Benvenuto Date: Tue, 16 May 2023 15:13:54 -0400 Subject: SERVER-77193 Centralize the macro definition of __has_feature into one place --- src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/mongo/db/storage/wiredtiger') diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp index 2fefa77da8a..b9739ac8d3a 100644 --- a/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp +++ b/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp @@ -129,10 +129,6 @@ MONGO_FAIL_POINT_DEFINE(WTDisableFastShutDown); const std::string kPinOldestTimestampAtStartupName = "_wt_startup"; -#if !defined(__has_feature) -#define __has_feature(x) 0 -#endif - #if __has_feature(address_sanitizer) constexpr bool kAddressSanitizerEnabled = true; #else -- cgit v1.2.1