File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
CoreFoundation/Base.subproj Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -409,9 +409,9 @@ CF_EXPORT void * __CFConstantStringClassReferencePtr;
409
409
#if DEPLOYMENT_RUNTIME_SWIFT
410
410
411
411
#if TARGET_OS_MAC
412
- #define __CFConstantStringClassReference $S15SwiftFoundation19_NSCFConstantStringCN
412
+ #define __CFConstantStringClassReference $s15SwiftFoundation19_NSCFConstantStringCN
413
413
#else
414
- #define __CFConstantStringClassReference $S10Foundation19_NSCFConstantStringCN
414
+ #define __CFConstantStringClassReference $s10Foundation19_NSCFConstantStringCN
415
415
#endif
416
416
417
417
CF_EXPORT void *__CFConstantStringClassReference[];
Original file line number Diff line number Diff line change @@ -98,3 +98,8 @@ _kCFNumberFormatterZeroSymbolKey _kCFNumberFormatterZeroSymbol
98
98
_kCFNumberFormatterUsesCharacterDirectionKey _kCFNumberFormatterUsesCharacterDirection
99
99
_kCFDateFormatterUsesCharacterDirectionKey _kCFDateFormatterUsesCharacterDirection
100
100
_kCFDateFormatterCalendarIdentifierKey _kCFDateFormatterCalendarName
101
+
102
+ # Workaround for being able to compile with a swift compiler with the old mangling prefix $S.
103
+ # This can eventually be removed if everyone compiles with the ABI-stable Swift 5.0 compiler.
104
+ _$S15SwiftFoundation19_NSCFConstantStringCN _$s15SwiftFoundation19_NSCFConstantStringCN
105
+
You can’t perform that action at this time.
0 commit comments