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