mirror of
https://github.com/espressif/mbedtls.git
synced 2025-05-09 19:31:18 +08:00
fix wrong compiler checks
- Add msc version check - remove HAVE_ASM due to conflict with check_config Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
a7d454cec2
commit
8f0e3d4c22
@ -31,13 +31,13 @@
|
||||
#include "mbedtls/aes.h"
|
||||
|
||||
#if !defined(MBEDTLS_HAVE_ARM64)
|
||||
#if defined(MBEDTLS_HAVE_ASM) && defined(__GNUC__) && \
|
||||
defined(__aarch64__)
|
||||
#if defined(__GNUC__) && defined(__aarch64__)
|
||||
#define MBEDTLS_HAVE_ARM64
|
||||
#endif
|
||||
|
||||
/* MSVC */
|
||||
#if defined(_M_ARM64) || defined(_M_ARM64EC)
|
||||
#if defined(_MSC_VER) && _MSC_VER >=1929 && \
|
||||
(defined(_M_ARM64) || defined(_M_ARM64EC))
|
||||
#define MBEDTLS_HAVE_ARM64
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user