From 29968716ea050fd905be55cec7e290a674fd075d Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Sun, 6 Jun 2021 23:22:08 +0200 Subject: [PATCH] MSVC, ARM64 - correct 64bit detection Fixes https://github.com/wolfSSL/wolfssl/issues/4095 --- wolfssl/wolfcrypt/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfssl/wolfcrypt/types.h b/wolfssl/wolfcrypt/types.h index fd75cd3b2..1bc7ea16e 100644 --- a/wolfssl/wolfcrypt/types.h +++ b/wolfssl/wolfcrypt/types.h @@ -159,7 +159,7 @@ decouple library dependencies with standard string, memory and so on. #if (defined(__alpha__) || defined(__ia64__) || defined(_ARCH_PPC64) || \ defined(__mips64) || defined(__x86_64__) || defined(_M_X64)) || \ defined(__aarch64__) || defined(__sparc64__) || defined(__s390x__ ) || \ - (defined(__riscv_xlen) && (__riscv_xlen == 64)) + (defined(__riscv_xlen) && (__riscv_xlen == 64)) || defined(_M_ARM64) typedef word64 wolfssl_word; #define WC_64BIT_CPU #elif (defined(sun) || defined(__sun)) && \