mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert subset of "[Gardening] Clean Up OS-Test Patterns Across The Codebase"
Removes usage of #canImport(Darwin) from stdlib/public.
This reverts a subset of commit cddf73ecdb.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#if canImport(Darwin)
|
||||
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
|
||||
|
||||
/// Enumeration describing POSIX error codes.
|
||||
@objc
|
||||
|
||||
Reference in New Issue
Block a user