aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2018-09-02 00:17:48 +0300
committerMartin Storsjo <martin@martin.st>2018-09-02 23:27:57 +0300
commit574bd5e4073f857ae68c1a8db2dfb225441b2fab (patch)
tree0afc1804ad87ebe775255a59806be89d1c1fb354
parent99e092f47b9fb984994401b198b3b4793bf65c19 (diff)
downloadfdk-aac-574bd5e4073f857ae68c1a8db2dfb225441b2fab.tar.gz
fdk-aac-574bd5e4073f857ae68c1a8db2dfb225441b2fab.tar.bz2
fdk-aac-574bd5e4073f857ae68c1a8db2dfb225441b2fab.zip
Recognize the MSVC ARM64 compiler arch identification
-rw-r--r--libFDK/include/FDK_archdef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libFDK/include/FDK_archdef.h b/libFDK/include/FDK_archdef.h
index 75a8e85..b4fef8a 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