Files
swift-nio-ssl/scripts/patch-2-arm-arch.patch
T
fabstu 00546ebd78 Fix compilation on iPad Pro 1st Gen with iPadOS13 and iOS 12 (#125)
Resolves an issue where the ARM architecture helpers were inadvertently excluded on 64-bit ARM platforms.
2019-08-10 15:42:30 +01:00

19 lines
668 B
Diff

diff --git a/Sources/CNIOBoringSSL/include/CNIOBoringSSL_arm_arch.h b/Sources/CNIOBoringSSL/include/CNIOBoringSSL_arm_arch.h
index faa2655..0e76796 100644
--- a/Sources/CNIOBoringSSL/include/CNIOBoringSSL_arm_arch.h
+++ b/Sources/CNIOBoringSSL/include/CNIOBoringSSL_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__
#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__