mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-03 08:15:31 +00:00
Fix simulator build for Apple silicon
This commit is contained in:
parent
ff5e8d167d
commit
1aa11df725
@ -8,21 +8,21 @@
|
|||||||
|
|
||||||
#include <TargetConditionals.h>
|
#include <TargetConditionals.h>
|
||||||
|
|
||||||
#if TARGET_OS_IOS && TARGET_OS_SIMULATOR && TARGET_CPU_X86
|
#if TARGET_OS_IOS && TARGET_CPU_X86
|
||||||
# include <openssl/opensslconf_ios_i386.h>
|
# include <openssl/opensslconf_ios_i386.h>
|
||||||
#elif TARGET_OS_IOS && TARGET_OS_SIMULATOR && TARGET_CPU_X86_64
|
#elif TARGET_OS_IOS && TARGET_CPU_X86_64
|
||||||
# include <openssl/opensslconf_ios_x86_64.h>
|
# include <openssl/opensslconf_ios_x86_64.h>
|
||||||
#elif TARGET_OS_IOS && TARGET_OS_EMBEDDED && TARGET_CPU_ARM64
|
#elif TARGET_OS_IOS && TARGET_CPU_ARM64
|
||||||
# include <openssl/opensslconf_ios_arm64.h>
|
# include <openssl/opensslconf_ios_arm64.h>
|
||||||
#elif TARGET_OS_IOS && TARGET_OS_EMBEDDED && TARGET_CPU_ARM64E
|
#elif TARGET_OS_IOS && TARGET_CPU_ARM64E
|
||||||
# include <openssl/opensslconf_ios_arm64e.h>
|
# include <openssl/opensslconf_ios_arm64e.h>
|
||||||
#elif TARGET_OS_IOS && TARGET_OS_EMBEDDED && TARGET_CPU_ARM && defined(__ARM_ARCH_7S__)
|
#elif TARGET_OS_IOS && TARGET_CPU_ARM && defined(__ARM_ARCH_7S__)
|
||||||
# include <openssl/opensslconf_ios_armv7s.h>
|
# include <openssl/opensslconf_ios_armv7s.h>
|
||||||
#elif TARGET_OS_IOS && TARGET_OS_EMBEDDED && TARGET_CPU_ARM && !defined(__ARM_ARCH_7S__)
|
#elif TARGET_OS_IOS && TARGET_CPU_ARM && !defined(__ARM_ARCH_7S__)
|
||||||
# include <openssl/opensslconf_ios_armv7.h>
|
# include <openssl/opensslconf_ios_armv7.h>
|
||||||
#elif TARGET_OS_TV && TARGET_OS_SIMULATOR && TARGET_CPU_X86_64
|
#elif TARGET_OS_TV && TARGET_CPU_X86_64
|
||||||
# include <openssl/opensslconf_tvos_x86_64.h>
|
# include <openssl/opensslconf_tvos_x86_64.h>
|
||||||
#elif TARGET_OS_TV && TARGET_OS_EMBEDDED && TARGET_CPU_ARM64
|
#elif TARGET_OS_TV && TARGET_CPU_ARM64
|
||||||
# include <openssl/opensslconf_tvos_arm64.h>
|
# include <openssl/opensslconf_tvos_arm64.h>
|
||||||
#else
|
#else
|
||||||
# error Unable to determine target or target not included in OpenSSL build
|
# error Unable to determine target or target not included in OpenSSL build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user