diff --git a/public/common/TracyYield.hpp b/public/common/TracyYield.hpp index 7b8ccef0..035836cd 100644 --- a/public/common/TracyYield.hpp +++ b/public/common/TracyYield.hpp @@ -1,7 +1,7 @@ #ifndef __TRACYYIELD_HPP__ #define __TRACYYIELD_HPP__ -#if defined __SSE2__ || defined _M_AMD64 || _M_IX86_FP == 2 +#if defined __SSE2__ || defined _M_AMD64 || (defined _M_IX86_FP && _M_IX86_FP == 2) # include #else # include @@ -14,7 +14,7 @@ namespace tracy static tracy_force_inline void YieldThread() { -#if defined __SSE2__ || defined _M_AMD64 || _M_IX86_FP == 2 +#if defined __SSE2__ || defined _M_AMD64 || (defined _M_IX86_FP && _M_IX86_FP == 2) _mm_pause(); #elif defined __aarch64__ asm volatile( "isb" : : );