We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a25565 + bad797b commit 2f30a90Copy full SHA for 2f30a90
Foundation/XMLParser.swift
@@ -7,17 +7,12 @@
7
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
8
//
9
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
-
16
#if os(macOS) || os(iOS)
17
import Darwin
18
#elseif os(Linux) || CYGWIN
19
import Glibc
20
#endif
+
21
import CoreFoundation
22
23
extension XMLParser {
0 commit comments