From c2682cfc73dd6a497ece680fa4f329e6efb81fed Mon Sep 17 00:00:00 2001 From: Martin Storsjo Date: Sun, 2 Sep 2018 00:17:48 +0300 Subject: [PATCH] Recognize the MSVC ARM64 compiler arch identification --- libFDK/include/FDK_archdef.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libFDK/include/FDK_archdef.h b/libFDK/include/FDK_archdef.h index 75a8e859f..b4fef8a5b 100644 --- a/libFDK/include/FDK_archdef.h +++ b/libFDK/include/FDK_archdef.h @@ -114,7 +114,7 @@ amm-info@iis.fraunhofer.de #define __x86__ #endif -#if defined(_M_ARM) && !defined(__arm__) || defined(__aarch64__) +#if defined(_M_ARM) && !defined(__arm__) || defined(__aarch64__) || defined(_M_ARM64) #define __arm__ #endif @@ -162,7 +162,7 @@ amm-info@iis.fraunhofer.de #define __ARM_ARCH_7EM__ #endif -#if defined(__aarch64__) +#if defined(__aarch64__) || defined(_M_ARM64) #define __ARM_ARCH_8__ #endif