Skip to content

Commit f040eaf

Browse files
committed
Merge pull request #2300 from modocache/test-os-checks-android
2 parents cd29d0f + 38741f3 commit f040eaf

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

test/1_stdlib/PrintFloat.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// REQUIRES: executable_test
77

88
import StdlibUnittest
9-
#if os(Linux) || os(FreeBSD)
9+
#if os(Linux) || os(FreeBSD) || os(Android)
1010
import Glibc
1111
#else
1212
import Darwin

test/Prototypes/FloatingPoint.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extension UInt32 : FloatingPointRepresentation {
2727
// Ewwww? <rdar://problem/20060017>
2828
#if os(OSX) || os(iOS) || os(watchOS) || os(tvOS)
2929
import Darwin
30-
#elseif os(Linux)
30+
#elseif os(Linux) || os(FreeBSD) || os(Android)
3131
import Glibc
3232
#endif
3333

validation-test/StdlibUnittest/Stdin.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import StdlibUnittest
66

77
#if os(OSX) || os(iOS) || os(tvOS) || os(watchOS)
88
import Darwin
9-
#elseif os(Linux)
9+
#elseif os(Linux) || os(FreeBSD) || os(Android)
1010
import Glibc
1111
#endif
1212

validation-test/stdlib/String.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ StringTests.test(
919919
#endif
920920
}
921921

922-
#if os(Linux)
922+
#if os(Linux) || os(FreeBSD) || os(Android)
923923
import Glibc
924924
#endif
925925

0 commit comments

Comments
 (0)