Skip to content

Commit 664c8a0

Browse files
authored
Merge pull request #2375 from vgorloff/macos-to-android-crosscompile
[Android]: Fix for compile error addressed Float80 data type.
2 parents 73f2a62 + 43fef2a commit 664c8a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Foundation/CGFloat.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public struct CGFloat {
3131
self.native = NativeType(value)
3232
}
3333

34-
#if !os(Windows) && (arch(i386) || arch(x86_64))
34+
#if !(os(Windows) || os(Android)) && (arch(i386) || arch(x86_64))
3535
@_transparent public init(_ value: Float80) {
3636
self.native = NativeType(value)
3737
}

0 commit comments

Comments
 (0)