summaryrefslogtreecommitdiff
path: root/libcrypto/libcrypto/downstream/crypto/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrypto/libcrypto/downstream/crypto/platform.h')
-rw-r--r--libcrypto/libcrypto/downstream/crypto/platform.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcrypto/libcrypto/downstream/crypto/platform.h b/libcrypto/libcrypto/downstream/crypto/platform.h
index c5f0984..8dd6690 100644
--- a/libcrypto/libcrypto/downstream/crypto/platform.h
+++ b/libcrypto/libcrypto/downstream/crypto/platform.h
@@ -32,15 +32,15 @@
# else
# error x86_64 architecture is not supported for this OS
# endif
-# elif defined(__arm64__) /* POSIX arm64 */
+# elif defined(__arm64__) || defined(__aarch64__) /* POSIX arm64 */
# if defined(__APPLE__)
# include "arm64-macos.h"
+# elif defined(__linux__)
+# include "arm64-linux.h"
/*
- * arm64 architecture is not currently supported for Linux and FreeBSD.
+ * arm64 architecture is not currently supported for FreeBSD.
*/
/*
-# elif defined(__linux__)
-# include "arm64-linux.h"
# elif defined(__FreeBSD__)
# include "arm64-freebsd.h"
*/