darwin.Libsystem: add definitions TARGET_OS_{IOS,WATCH,BRIDGE,TV,SIMULATOR,NANO} to TargetConditionals.h
These are defined in the SDK for Apple compilers and some projects assume those are defined unconditionally. https://reviews.llvm.org/D103598
This commit is contained in:
parent
8a8243d995
commit
03137b50d2
1 changed files with 6 additions and 0 deletions
|
@ -69,7 +69,13 @@ appleDerivation' stdenv {
|
|||
#define TARGET_OS_UNIX 0
|
||||
#define TARGET_OS_EMBEDDED 0
|
||||
#define TARGET_OS_IPHONE 0
|
||||
#define TARGET_OS_IOS 0
|
||||
#define TARGET_OS_WATCH 0
|
||||
#define TARGET_OS_BRIDGE 0
|
||||
#define TARGET_OS_TV 0
|
||||
#define TARGET_OS_SIMULATOR 0
|
||||
#define TARGET_IPHONE_SIMULATOR 0
|
||||
#define TARGET_OS_NANO 0
|
||||
#define TARGET_OS_LINUX 0
|
||||
|
||||
#define TARGET_CPU_PPC 0
|
||||
|
|
Loading…
Reference in a new issue