Skip to content

Commit 7c236df

Browse files
committed
Fix objective-c logic to only include objective-c if the target is a Mac, or is explicitly told to have objective-c
1 parent 9c4cec9 commit 7c236df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CoreFoundation/Base.subproj/ForFoundationOnly.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ CF_IMPLICIT_BRIDGING_DISABLED
5959
#include <mach/mach_time.h>
6060
#endif
6161

62-
#if (INCLUDE_OBJC || TARGET_OS_MAC || TARGET_OS_WIN32) && !DEPLOYMENT_RUNTIME_SWIFT
62+
#if (INCLUDE_OBJC || TARGET_OS_MAC) && !DEPLOYMENT_RUNTIME_SWIFT
6363
#include <objc/message.h>
6464
#endif
6565

0 commit comments

Comments
 (0)