chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / os-specific / darwin / swift-corelibs / 0001-Add-missing-TARGET_OS_-defines.patch
blobdb17c517c720280f3678de752596134a9ccd7bb4
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
6 ---
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
14 @@ -118,6 +118,13 @@
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
26 #if __x86_64__
27 #define TARGET_CPU_PPC 0
28 --
29 2.17.2 (Apple Git-113)