summaryrefslogtreecommitdiff
path: root/libcrypto/libcrypto/downstream/crypto/platform.h
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-10-21 16:58:03 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-10-21 16:58:03 +0300
commitbd73937e5c2e18b7516dfaf3986e9c8dccf65f65 (patch)
treea5b4ce18c891731920f66c69253d7775221a5866 /libcrypto/libcrypto/downstream/crypto/platform.h
parent2e7506efa1f1015e9fd965b85c934cf3bc3014f9 (diff)
Release version 1.1.1+15v1.1.1+15
Upgrade to 1.1.1l Add support for arm64 architecture for MacOS Cleanup comments in headers
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"