mirror of
https://github.com/apple/swift-nio
synced 2026-11-30 05:28:44 +00:00
The `getifaddrs` is only available on Android API 24+. So, to make `swift-nio` compile on API 23, we need to add `@available` annotations to the functions that use it. Which are just the two interface enumerate functions. ### Result: `swift-nio` can be compiled for Android 23. --------- Co-authored-by: Cory Benfield <lukasa@apple.com>