From d7fbea4f2c4c046e414c7b6e6358c0884beec69d Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Tue, 31 Jan 2017 11:01:48 -0800 Subject: [PATCH] Restore use of #include The change made in #663 were overwritten by #709. This change restores the switch from `#import` to `#include`. The reason for this change is: Clang's MSVC compatibility does not handle `#import` statements outside of of objc. > #import of type library is an unsupported Microsoft feature --- CoreFoundation/Base.subproj/ForFoundationOnly.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CoreFoundation/Base.subproj/ForFoundationOnly.h b/CoreFoundation/Base.subproj/ForFoundationOnly.h index 4afda46add..cb782e96a6 100644 --- a/CoreFoundation/Base.subproj/ForFoundationOnly.h +++ b/CoreFoundation/Base.subproj/ForFoundationOnly.h @@ -63,7 +63,7 @@ CF_IMPLICIT_BRIDGING_DISABLED #endif #if (INCLUDE_OBJC || DEPLOYMENT_TARGET_MACOSX || DEPLOYMENT_TARGET_EMBEDDED || DEPLOYMENT_TARGET_WINDOWS) && !DEPLOYMENT_RUNTIME_SWIFT -#import +#include #endif // ---- CFBundle material ----------------------------------------