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