From 71af6e54f44339ab9151c878335a0dfdd1bd1b05 Mon Sep 17 00:00:00 2001 From: Tom Lally Date: Sun, 28 Aug 2022 10:38:47 +0100 Subject: [PATCH] Removed redundant #if defined clauses. --- src/Common/precompiled.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Common/precompiled.h b/src/Common/precompiled.h index 30f46d76..a9635780 100644 --- a/src/Common/precompiled.h +++ b/src/Common/precompiled.h @@ -427,7 +427,7 @@ public: template bool future_is_ready(std::future& f) { -#if defined(__clang__) || defined(__GNUC__) +#if defined(__GNUC__) return f.wait_for(std::chrono::nanoseconds(0)) == std::future_status::ready; #else return f._Is_ready(); @@ -443,7 +443,7 @@ std::atomic* _rawPtrToAtomic(T* ptr) return reinterpret_cast*>(ptr); } -#if defined(__clang__) || defined(__GNUC__) +#if defined(__GNUC__) #define ATTR_MS_ABI __attribute__((ms_abi)) #else #define ATTR_MS_ABI @@ -464,7 +464,7 @@ inline uint32 GetTitleIdLow(uint64 titleId) return titleId & 0xFFFFFFFF; } -#if defined(__clang__) || defined(__GNUC__) +#if defined(__GNUC__) #define memcpy_dwords(__dest, __src, __numDwords) memcpy((__dest), (__src), (__numDwords) * sizeof(uint32)) #define memcpy_qwords(__dest, __src, __numQwords) memcpy((__dest), (__src), (__numQwords) * sizeof(uint64)) #else