1
0
mirror of https://github.com/apple/swift-nio-extras.git synced 2025-05-28 01:19:26 +08:00

Use #if canImport(Darwin) where possible ()

This commit is contained in:
Franz Busch 2023-06-21 14:12:47 +01:00 committed by GitHub
parent 868a89ffdc
commit fb70a0f5e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

@ -11,7 +11,7 @@
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//
#if os(macOS) || os(tvOS) || os(iOS) || os(watchOS)
#if canImport(Darwin)
import Darwin
#else
import Glibc

@ -12,7 +12,7 @@
//
//===----------------------------------------------------------------------===//
#if os(macOS) || os(tvOS) || os(iOS) || os(watchOS)
#if canImport(Darwin)
import Darwin
#else
import Glibc

@ -12,7 +12,7 @@
//
//===----------------------------------------------------------------------===//
#if os(macOS) || os(tvOS) || os(iOS) || os(watchOS)
#if canImport(Darwin)
import Darwin
#else
import Glibc

@ -12,7 +12,7 @@
//
//===----------------------------------------------------------------------===//
#if os(macOS) || os(tvOS) || os(iOS) || os(watchOS)
#if canImport(Darwin)
import Darwin
#else
import Glibc