File tree 4 files changed +5
-7
lines changed
4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,8 @@ internal func malloc_good_size(_ size: Int) -> Int {
64
64
import Glibc
65
65
#elseif canImport(Musl)
66
66
import Musl
67
+ #elseif canImport(Android)
68
+ import Android
67
69
#elseif canImport(WASILibc)
68
70
import WASILibc
69
71
#endif
Original file line number Diff line number Diff line change 11
11
internal func & ( left: UInt32 , right: mode_t ) -> mode_t {
12
12
return mode_t ( left) & right
13
13
}
14
- #elseif os(Android)
15
- internal func & ( left: mode_t , right: Int32 ) -> mode_t {
16
- return left & mode_t ( right)
17
- }
18
14
#endif
19
15
20
16
#if os(WASI)
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import WinSDK
25
25
import WASILibc
26
26
#endif
27
27
28
- #if os (Android)
28
+ #if canImport (Android)
29
29
import Android
30
30
#endif
31
31
Original file line number Diff line number Diff line change 12
12
import WinSDK
13
13
#endif
14
14
15
- #if os (Android)
15
+ #if canImport (Android)
16
16
import Android
17
- // Android Glibc differs a little with respect to the Linux Glibc.
17
+ // Android Bionic differs a little with respect to the Linux Glibc.
18
18
19
19
// IFF_LOOPBACK is part of the enumeration net_device_flags, which needs to
20
20
// convert to UInt32.
You can’t perform that action at this time.
0 commit comments