Skip to content

Commit 279aa6b

Browse files
authored
Android support (#70)
### Motivation This package wasn't building on Android, causing various dependent packages to also fail to build. ### Modifications Add the necessary `import(Android)` to successfully build. ### Result The package can now be built for Android. ### Test Plan ~~Added CI to build and run against an Android emulator using [swift-android-action](https://github.com/marketplace/actions/swift-android-action).~~
1 parent 1079229 commit 279aa6b

File tree

1 file changed

+2
-0
lines changed
  • Sources/OpenAPIURLSession/BufferedStream

1 file changed

+2
-0
lines changed

Sources/OpenAPIURLSession/BufferedStream/Lock.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828

2929
#if canImport(Darwin)
3030
import Darwin
31+
#elseif canImport(Android)
32+
import Android
3133
#elseif canImport(Glibc)
3234
import Glibc
3335
#elseif os(Windows)

0 commit comments

Comments
 (0)