Skip to content

Commit e120ff1

Browse files
committed
Get rid of dependency on Swift runtime headers
1 parent ab87cfd commit e120ff1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Darwin/Foundation-swiftoverlay/DataThunks.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
#import <Foundation/Foundation.h>
1414
#import <sys/fcntl.h>
1515

16-
#include "swift/Runtime/Config.h"
16+
// Note: This came from SwiftShims/Visibility.h
17+
#define SWIFT_RUNTIME_STDLIB_INTERNAL __attribute__ ((visibility("hidden")))
1718

1819
#if TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR
1920
static int __NSFileProtectionClassForOptions(NSUInteger options) {

0 commit comments

Comments
 (0)