Skip to content

Commit

Permalink
Change compiler checks
Browse files Browse the repository at this point in the history
  • Loading branch information
FranzBusch committed Oct 24, 2024
1 parent f3d9ec3 commit 310e8ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ private enum HTTPTypeConversionError: Error {

#endif

#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) || compiler(>=6) || (compiler(>=6) && os(visionOS))
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) || compiler(>=6)

@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
extension URLSession {
Expand Down Expand Up @@ -129,7 +129,7 @@ extension URLSession {
return (location, response)
}

#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) || (compiler(>=6) && os(visionOS))
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) || compiler(>=6)
/// Returns a byte stream that conforms to AsyncSequence protocol.
///
/// - Parameter request: The `HTTPRequest` for which to load data.
Expand Down

0 comments on commit 310e8ea

Please sign in to comment.