mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 02:52:10 +01:00
[util] Only include x86 intrinsics headers on x86
This commit is contained in:
parent
736f91fad1
commit
466026632d
@ -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 <x86intrin.h>
|
||||
#if defined(__WINE__) && defined(__clang__)
|
||||
#pragma pop_macro("_WIN32")
|
||||
#endif
|
||||
#else
|
||||
#include <intrin.h>
|
||||
#ifdef DXVK_ARCH_X86
|
||||
#ifndef _MSC_VER
|
||||
#if defined(__WINE__) && defined(__clang__)
|
||||
#pragma push_macro("_WIN32")
|
||||
#undef _WIN32
|
||||
#endif
|
||||
#include <x86intrin.h>
|
||||
#if defined(__WINE__) && defined(__clang__)
|
||||
#pragma pop_macro("_WIN32")
|
||||
#endif
|
||||
#else
|
||||
#include <intrin.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "util_likely.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user