1 From 549160574ee44656d50997b27ef83736e0848201 Mon Sep 17 00:00:00 2001
2 From: toonn <toonn@toonn.io>
3 Date: Mon, 26 Apr 2021 20:51:05 +0200
4 Subject: [PATCH] Add missing TARGET_OS_* defines
7 .../Base.subproj/SwiftRuntime/TargetConditionals.h | 7 +++++++
8 1 file changed, 7 insertions(+)
10 diff --git a/CoreFoundation/Base.subproj/SwiftRuntime/TargetConditionals.h b/CoreFoundation/Base.subproj/SwiftRuntime/TargetConditionals.h
11 index 6d42b873..abf746c9 100644
12 --- a/CoreFoundation/Base.subproj/SwiftRuntime/TargetConditionals.h
13 +++ b/CoreFoundation/Base.subproj/SwiftRuntime/TargetConditionals.h
16 #define TARGET_OS_WIN32 TARGET_OS_WINDOWS
17 #define TARGET_OS_MAC TARGET_OS_DARWIN
18 +#define TARGET_OS_OSX TARGET_OS_DARWIN
20 +#define TARGET_OS_IPHONE 0
21 +#define TARGET_OS_WATCH 0
22 +#define TARGET_OS_TV 0
23 +#define TARGET_OS_EMBEDDED 0
27 #define TARGET_CPU_PPC 0
29 2.17.2 (Apple Git-113)