mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
MSVC, ARM64 - correct 64bit detection
Fixes https://github.com/wolfSSL/wolfssl/issues/4095
This commit is contained in:
@ -159,7 +159,7 @@ decouple library dependencies with standard string, memory and so on.
|
|||||||
#if (defined(__alpha__) || defined(__ia64__) || defined(_ARCH_PPC64) || \
|
#if (defined(__alpha__) || defined(__ia64__) || defined(_ARCH_PPC64) || \
|
||||||
defined(__mips64) || defined(__x86_64__) || defined(_M_X64)) || \
|
defined(__mips64) || defined(__x86_64__) || defined(_M_X64)) || \
|
||||||
defined(__aarch64__) || defined(__sparc64__) || defined(__s390x__ ) || \
|
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;
|
typedef word64 wolfssl_word;
|
||||||
#define WC_64BIT_CPU
|
#define WC_64BIT_CPU
|
||||||
#elif (defined(sun) || defined(__sun)) && \
|
#elif (defined(sun) || defined(__sun)) && \
|
||||||
|
Reference in New Issue
Block a user