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"
|
#error "Unknown CPU Architecture"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
#ifdef DXVK_ARCH_X86
|
||||||
#if defined(__WINE__) && defined(__clang__)
|
#ifndef _MSC_VER
|
||||||
#pragma push_macro("_WIN32")
|
#if defined(__WINE__) && defined(__clang__)
|
||||||
#undef _WIN32
|
#pragma push_macro("_WIN32")
|
||||||
#endif
|
#undef _WIN32
|
||||||
#include <x86intrin.h>
|
#endif
|
||||||
#if defined(__WINE__) && defined(__clang__)
|
#include <x86intrin.h>
|
||||||
#pragma pop_macro("_WIN32")
|
#if defined(__WINE__) && defined(__clang__)
|
||||||
#endif
|
#pragma pop_macro("_WIN32")
|
||||||
#else
|
#endif
|
||||||
#include <intrin.h>
|
#else
|
||||||
|
#include <intrin.h>
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "util_likely.h"
|
#include "util_likely.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user