mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 07:05:40 +00:00
Common: Fix build with ARM64 clang-cl
This commit is contained in:
parent
9fc736eaa0
commit
68da62ec29
|
@ -74,7 +74,7 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<MARMASM Include="fastjmp_arm.asm">
|
<MARMASM Include="fastjmp_arm.asm">
|
||||||
<FileType>Document</FileType>
|
<FileType>Document</FileType>
|
||||||
<ExcludedFromBuild Condition="'$(Platform)'!='ARM64'">true</ExcludedFromBuild>
|
<ExcludedFromBuild Condition="'$(Platform)'!='ARM64' Or $(Configuration.Contains(Clang))">true</ExcludedFromBuild>
|
||||||
</MARMASM>
|
</MARMASM>
|
||||||
<MASM Include="fastjmp_x86.asm">
|
<MASM Include="fastjmp_x86.asm">
|
||||||
<FileType>Document</FileType>
|
<FileType>Document</FileType>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// SPDX-FileCopyrightText: 2021 Connor McLaughlin <stenzek@gmail.com>
|
// SPDX-FileCopyrightText: 2021 Connor McLaughlin <stenzek@gmail.com>
|
||||||
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
||||||
|
|
||||||
#ifndef _WIN32
|
#if !defined(_MSC_VER) || defined(__clang__)
|
||||||
|
|
||||||
#include "fastjmp.h"
|
#include "fastjmp.h"
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#include <emmintrin.h>
|
#include <emmintrin.h>
|
||||||
#elif defined(CPU_ARCH_ARM64)
|
#elif defined(CPU_ARCH_ARM64)
|
||||||
#define CPU_ARCH_NEON 1
|
#define CPU_ARCH_NEON 1
|
||||||
#ifdef _MSC_VER
|
#if defined(_MSC_VER) && !defined(__clang__)
|
||||||
#include <arm64_neon.h>
|
#include <arm64_neon.h>
|
||||||
#else
|
#else
|
||||||
#include <arm_neon.h>
|
#include <arm_neon.h>
|
||||||
|
|
Loading…
Reference in a new issue