blob: 6c9d762ec1999e9b5fa57b03d11cb9ecea065de4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
From 51e6961d4a0d0fc5f92b686354c7e23d33e11048 Mon Sep 17 00:00:00 2001
From: soloturn <soloturn@gmail.com>
Date: Mon, 19 Jul 2021 09:29:44 +0200
Subject: [PATCH] asprintf exists
---
CoreFoundation/Base.subproj/CFPlatform.c | 2 +-
CoreFoundation/Base.subproj/CoreFoundation_Prefix.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/CoreFoundation/Base.subproj/CFPlatform.c b/CoreFoundation/Base.subproj/CFPlatform.c
index bf332973..ee5ae559 100644
--- a/CoreFoundation/Base.subproj/CFPlatform.c
+++ b/CoreFoundation/Base.subproj/CFPlatform.c
@@ -1510,7 +1510,7 @@ void _CF_dispatch_once(dispatch_once_t *predicate, void (^block)(void)) {
#pragma mark -
#pragma mark Windows and Linux Helpers
-#if TARGET_OS_WIN32 || TARGET_OS_LINUX
+#if TARGET_OS_WIN32
#include <stdio.h>
diff --git a/CoreFoundation/Base.subproj/CoreFoundation_Prefix.h b/CoreFoundation/Base.subproj/CoreFoundation_Prefix.h
index 35e08036..86d6574a 100644
--- a/CoreFoundation/Base.subproj/CoreFoundation_Prefix.h
+++ b/CoreFoundation/Base.subproj/CoreFoundation_Prefix.h
@@ -448,7 +448,7 @@ CF_INLINE int popcountll(long long x) {
#define CF_TEST_PRIVATE CF_PRIVATE
#endif
-#if TARGET_OS_LINUX || TARGET_OS_WIN32
+#if TARGET_OS_WIN32
#include <stdarg.h>
--
2.32.0
|