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.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/libcrypto/libcrypto/downstream/crypto/platform.h b/libcrypto/libcrypto/downstream/crypto/platform.h
index 1ec5c81..c5f0984 100644
--- a/libcrypto/libcrypto/downstream/crypto/platform.h
+++ b/libcrypto/libcrypto/downstream/crypto/platform.h
@@ -2,8 +2,7 @@
* license : OpenSSL and SSLeay Licenses; see accompanying LICENSE file
*/
-/*
- * This header is used for inclusion of upstream's auto-generated
+/* This header is used for inclusion of upstream's auto-generated
* platform-specific header.
*
* If there is the auto-generated header foo.h, then the workflow is normally
@@ -33,6 +32,21 @@
# else
# error x86_64 architecture is not supported for this OS
# endif
+# elif defined(__arm64__) /* POSIX arm64 */
+# if defined(__APPLE__)
+# include "arm64-macos.h"
+/*
+ * arm64 architecture is not currently supported for Linux and FreeBSD.
+ */
+/*
+# elif defined(__linux__)
+# include "arm64-linux.h"
+# elif defined(__FreeBSD__)
+# include "arm64-freebsd.h"
+*/
+# else
+# error arm64 architecture is not supported for this OS
+# endif
# elif defined(__i386__) /* POSIX i386 */
# if defined(__linux__)
# include "i686-linux.h"