File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
GRPCCore/Call/Client/Internal Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 15
15
*/
16
16
#if canImport(Darwin)
17
17
public import Darwin // should be @usableFromInline
18
- #else
18
+ #elseif canImport(Glibc)
19
19
public import Glibc // should be @usableFromInline
20
+ #elseif canImport(Musl)
21
+ public import Musl // should be @usableFromInline
22
+ #else
23
+ #error("Unsupported OS")
20
24
#endif
21
25
22
26
@usableFromInline
Original file line number Diff line number Diff line change 17
17
#if canImport(Darwin)
18
18
private import Darwin
19
19
#elseif canImport(Glibc)
20
- private import Glibc
20
+ private import Glibc // should be @usableFromInline
21
21
#elseif canImport(Musl)
22
- private import Musl
22
+ private import Musl // should be @usableFromInline
23
+ #else
24
+ #error("Unsupported OS")
23
25
#endif
24
26
25
27
enum System {
You can’t perform that action at this time.
0 commit comments