mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[stdlib/private][gardening] Prefer os(macOS) over os(OSX)
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import SwiftPrivate
|
||||
#if os(OSX) || os(iOS) || os(watchOS) || os(tvOS)
|
||||
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
|
||||
import Darwin
|
||||
#elseif os(Linux) || os(FreeBSD) || os(PS4) || os(Android) || os(Cygwin) || os(Haiku)
|
||||
import Glibc
|
||||
|
||||
Reference in New Issue
Block a user