Skip to content

Commit 2f30a90

Browse files
authored
Merge pull request swiftlang#1844 from compnerd/cleaners
2 parents 4a25565 + bad797b commit 2f30a90

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Foundation/XMLParser.swift

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,12 @@
77
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
88
//
99

10-
// It is necessary to explicitly cast strlen to UInt to match the type
11-
// of prefixLen because currently, strlen (and other functions that
12-
// rely on swift_ssize_t) use the machine word size (int on 32 bit and
13-
// long in on 64 bit). I've filed a bug at bugs.swift.org:
14-
// https://bugs.swift.org/browse/SR-314
15-
1610
#if os(macOS) || os(iOS)
1711
import Darwin
1812
#elseif os(Linux) || CYGWIN
1913
import Glibc
2014
#endif
15+
2116
import CoreFoundation
2217

2318
extension XMLParser {

0 commit comments

Comments
 (0)