From 6eca3e03421429a112fd321d2d53a4114643efd7 Mon Sep 17 00:00:00 2001 From: Brecht Sanders Date: Thu, 2 Nov 2023 11:32:21 +0100 Subject: [PATCH] Update TypeDefinitions.h to support ARM64 (aarch64) on MinGW-w64 Support ARM64 (aarch64) when building with MinGW-w64 --- src/tbbmalloc/TypeDefinitions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tbbmalloc/TypeDefinitions.h b/src/tbbmalloc/TypeDefinitions.h index 81149166e6..a8afcc0288 100644 --- a/src/tbbmalloc/TypeDefinitions.h +++ b/src/tbbmalloc/TypeDefinitions.h @@ -25,7 +25,7 @@ # define __ARCH_ipf 1 # elif defined(_M_IX86)||defined(__i386__) // the latter for MinGW support # define __ARCH_x86_32 1 -# elif defined(_M_ARM) || defined(_M_ARM64) +# elif defined(_M_ARM) || defined(_M_ARM64) || defined(__aarch64__) // the latter for MinGW support # define __ARCH_other 1 # else # error Unknown processor architecture for Windows