Skip to content

Commit 0b5e0ea

Browse files
authored
Merge pull request #3021 from soloturn/main
asprintf exists on linux
2 parents 18b19a5 + 865bc70 commit 0b5e0ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CoreFoundation/Base.subproj/CFPlatform.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,7 @@ void _CF_dispatch_once(dispatch_once_t *predicate, void (^block)(void)) {
15101510
#pragma mark -
15111511
#pragma mark Windows and Linux Helpers
15121512

1513-
#if TARGET_OS_WIN32 || TARGET_OS_LINUX
1513+
#if TARGET_OS_WIN32
15141514

15151515
#include <stdio.h>
15161516

CoreFoundation/Base.subproj/CoreFoundation_Prefix.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ CF_INLINE int popcountll(long long x) {
448448
#define CF_TEST_PRIVATE CF_PRIVATE
449449
#endif
450450

451-
#if TARGET_OS_LINUX || TARGET_OS_WIN32
451+
#if TARGET_OS_WIN32
452452

453453
#include <stdarg.h>
454454

0 commit comments

Comments
 (0)