File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
GRPCCore/Call/Client/Internal Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1515 */
1616#if canImport(Darwin)
1717public import Darwin // should be @usableFromInline
18+ #elseif canImport(Android)
19+ public import Android // should be @usableFromInline
1820#elseif canImport(Glibc)
1921public import Glibc // should be @usableFromInline
2022#elseif canImport(Musl)
Original file line number Diff line number Diff line change 1616
1717#if canImport(Darwin)
1818private import Darwin
19+ #elseif canImport(Android)
20+ private import Android // should be @usableFromInline
1921#elseif canImport(Glibc)
2022private import Glibc // should be @usableFromInline
2123#elseif canImport(Musl)
@@ -29,6 +31,9 @@ enum System {
2931 #if canImport(Darwin)
3032 let pid = Darwin . getpid ( )
3133 return Int ( pid)
34+ #elseif canImport(Android)
35+ let pid = Android . getpid ( )
36+ return Int ( pid)
3237 #elseif canImport(Glibc)
3338 let pid = Glibc . getpid ( )
3439 return Int ( pid)
You can’t perform that action at this time.
0 commit comments