Skip to content

Commit 85c1031

Browse files
committed
[android][test] Fix os check in FloatingPoint.swift
Glibc should be imported on Android as well, not just Linux.
1 parent 3d6bf0b commit 85c1031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Prototypes/FloatingPoint.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extension UInt32 : FloatingPointRepresentationType {
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(Android)
3131
import Glibc
3232
#endif
3333

0 commit comments

Comments
 (0)