Skip to content

Commit f0fbfe1

Browse files
authored
Merge pull request #17 from tachyonics/master
Support compilation under Swift 5.1/Linux.
2 parents c15479e + 770fd1a commit f0fbfe1

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.DS_Store
22
/.build
33
/Packages
4-
*.xcodeproj
4+
.swiftpm/
5+
*.xcodeproj

Sources/XMLCoding/XMLStackParser.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
import Foundation
1010

11+
#if canImport(FoundationXML)
12+
import FoundationXML
13+
#endif
14+
1115
//===----------------------------------------------------------------------===//
1216
// Data Representation
1317
//===----------------------------------------------------------------------===//

0 commit comments

Comments
 (0)