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
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue