Files
swift-crypto/scripts/patch-2-arm-arch.patch
T
2019-12-06 16:55:35 +00:00

19 lines
722 B
Diff

diff --git a/Sources/CCryptoBoringSSL/include/CCryptoBoringSSL_arm_arch.h b/Sources/CCryptoBoringSSL/include/CCryptoBoringSSL_arm_arch.h
index faa2655..0e76796 100644
--- a/Sources/CCryptoBoringSSL/include/CCryptoBoringSSL_arm_arch.h
+++ b/Sources/CCryptoBoringSSL/include/CCryptoBoringSSL_arm_arch.h
@@ -49,7 +49,7 @@
* This product includes cryptographic software written by Eric Young
* (eay@cryptsoft.com). This product includes software written by Tim
* Hudson (tjh@cryptsoft.com). */
-
+#if __arm__ || __arm64__ || __aarch64__
#ifndef OPENSSL_HEADER_ARM_ARCH_H
#define OPENSSL_HEADER_ARM_ARCH_H
@@ -119,3 +119,4 @@
#endif // OPENSSL_HEADER_ARM_ARCH_H
+#endif // __arm__ || __arm64__ || __aarch64__