Skip to content

Commit

Permalink
define it as arm64 version for arm64 target
Browse files Browse the repository at this point in the history
Signed-off-by: Jerry Yu <[email protected]>
  • Loading branch information
yuhaoth committed Apr 3, 2023
1 parent 23367a9 commit 7a02bfd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions library/runtime_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,10 @@
#define MBEDTLS_RUNTIME_C
#endif

#if defined(MBEDTLS_RUNTIME_C) && \
defined(MBEDTLS_ARCH_IS_ARM64)
#define /*no-check-names*/ mbedtls_cpu_has_features(...) \
mbedtls_cpu_has_features_arm64(__VA_ARGS__)
#endif

#endif /* MBEDTLS_RUNTIME_INTERNAL_H */

0 comments on commit 7a02bfd

Please sign in to comment.