diff --git a/src/util/util_bit.h b/src/util/util_bit.h index 5ebfe032f..490f745b9 100644 --- a/src/util/util_bit.h +++ b/src/util/util_bit.h @@ -11,17 +11,19 @@ #error "Unknown CPU Architecture" #endif -#ifndef _MSC_VER -#if defined(__WINE__) && defined(__clang__) -#pragma push_macro("_WIN32") -#undef _WIN32 -#endif -#include -#if defined(__WINE__) && defined(__clang__) -#pragma pop_macro("_WIN32") -#endif -#else -#include +#ifdef DXVK_ARCH_X86 + #ifndef _MSC_VER + #if defined(__WINE__) && defined(__clang__) + #pragma push_macro("_WIN32") + #undef _WIN32 + #endif + #include + #if defined(__WINE__) && defined(__clang__) + #pragma pop_macro("_WIN32") + #endif + #else + #include + #endif #endif #include "util_likely.h"