Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Sources/CoreFoundation/CFRuntime.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ OBJC_EXPORT void *objc_destructInstance(id obj);
#include <pathcch.h>
#endif

#if __HAS_DISPATCH__ && !TARGET_OS_MAC
#include <dispatch/dispatch.h>
#endif

enum {
// retain/release recording constants -- must match values
// used by OA for now; probably will change in the future
Expand Down Expand Up @@ -1165,8 +1169,8 @@ CF_EXPORT

CF_PRIVATE os_unfair_recursive_lock CFPlugInGlobalDataLock;

#if __HAS_DISPATCH__
extern void libdispatch_init();
#if __HAS_DISPATCH__ && !TARGET_OS_MAC
DISPATCH_EXPORT void libdispatch_init();
#endif

void __CFInitialize(void) {
Expand Down