Skip to content

Commit

Permalink
concurrency takeover safe for 6.0 (#2710)
Browse files Browse the repository at this point in the history
  • Loading branch information
weissi committed Apr 29, 2024
1 parent 29e832a commit 447b281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/NIOPosix/PosixSingletons+ConcurrencyTakeOver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ extension NIOSingletons {
/// - warning: You may only call this method once.
@discardableResult
public static func unsafeTryInstallSingletonPosixEventLoopGroupAsConcurrencyGlobalExecutor() -> Bool {
#if /* minimum supported */ compiler(>=5.9) && /* maximum tested */ swift(<5.11)
#if /* minimum supported */ compiler(>=5.9) && /* maximum tested */ compiler(<6.1)
guard #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) else {
return false
}
Expand Down

0 comments on commit 447b281

Please sign in to comment.