Files
moonlight-ios/libs/openssl/include/openssl/opensslconf.h
Cameron Gutman 5264fee655 Update to OpenSSL 1.1.1f
Built for targets: ios-sim-cross-i386 ios-sim-cross-x86_64 ios64-cross-arm64 ios64-cross-arm64e ios-cross-armv7s ios-cross-armv7 tvos-sim-cross-x86_64 tvos64-cross-arm64

https://github.com/keeshux/openssl-apple
2020-04-08 19:57:45 -07:00

30 lines
1.4 KiB
C

/*
* Building OpenSSL for the different architectures of all iOS and tvOS devices requires different settings.
* In order to be able to use assembly code on all devices, the choice was made to keep optimal settings for all
* devices and use this intermediate header file to use the proper opensslconf.h file for each architecture.
* See also https://github.com/x2on/OpenSSL-for-iPhone/issues/126 and referenced pull requests
*/
#include <TargetConditionals.h>
#if TARGET_OS_IOS && TARGET_OS_SIMULATOR && TARGET_CPU_X86
# include <openssl/opensslconf_ios_i386.h>
#elif TARGET_OS_IOS && TARGET_OS_SIMULATOR && TARGET_CPU_X86_64
# include <openssl/opensslconf_ios_x86_64.h>
#elif TARGET_OS_IOS && TARGET_OS_EMBEDDED && TARGET_CPU_ARM64
# include <openssl/opensslconf_ios_arm64.h>
#elif TARGET_OS_IOS && TARGET_OS_EMBEDDED && TARGET_CPU_ARM64E
# include <openssl/opensslconf_ios_arm64e.h>
#elif TARGET_OS_IOS && TARGET_OS_EMBEDDED && TARGET_CPU_ARM && defined(__ARM_ARCH_7S__)
# include <openssl/opensslconf_ios_armv7s.h>
#elif TARGET_OS_IOS && TARGET_OS_EMBEDDED && TARGET_CPU_ARM && !defined(__ARM_ARCH_7S__)
# include <openssl/opensslconf_ios_armv7.h>
#elif TARGET_OS_TV && TARGET_OS_SIMULATOR && TARGET_CPU_X86_64
# include <openssl/opensslconf_tvos_x86_64.h>
#elif TARGET_OS_TV && TARGET_OS_EMBEDDED && TARGET_CPU_ARM64
# include <openssl/opensslconf_tvos_arm64.h>
#else
# error Unable to determine target or target not included in OpenSSL build
#endif