Skip to content

Commit 6bd6e4d

Browse files
authored
Merge pull request #1686 from copumpkin/fix-swift-preprocessor-bug
2 parents dc77902 + 85c640e commit 6bd6e4d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

CoreFoundation/NumberDate.subproj/CFTimeZone.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,8 +1013,6 @@ void CFTimeZoneSetAbbreviationDictionary(CFDictionaryRef dict) {
10131013
__CFTimeZoneUnlockGlobal();
10141014
}
10151015

1016-
#if DEPLOYMENT_RUNTIME_SWIFT
1017-
10181016
CF_INLINE const UChar *STRING_to_UTF16(CFStringRef S) { // UTF16String
10191017
CFIndex length = CFStringGetLength((CFStringRef)S);
10201018
UChar *buffer = (UChar *)malloc((length + 1) * sizeof(UChar));
@@ -1244,7 +1242,6 @@ Boolean _CFTimeZoneInit(CFTimeZoneRef timeZone, CFStringRef name, CFDataRef data
12441242
}
12451243
return false;
12461244
}
1247-
#endif
12481245

12491246
CFTimeZoneRef CFTimeZoneCreate(CFAllocatorRef allocator, CFStringRef name, CFDataRef data) {
12501247
// assert: (NULL != name && NULL != data);

0 commit comments

Comments
 (0)