Skip to content

Commit cf348b8

Browse files
committed
Fix Linux build.
1 parent b935c06 commit cf348b8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

TestFoundation/TestFileManager.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
88
//
99

10-
#if !DEPLOYMENT_RUNTIME_OBJC
10+
#if !DEPLOYMENT_RUNTIME_OBJC && (os(Linux) || os(Android))
11+
@testable import Foundation
12+
#else
1113
@testable import SwiftFoundation
1214
#endif
1315

0 commit comments

Comments
 (0)