Change compiler checks

This commit is contained in:
Franz Busch committed 2024-10-24 22:30:18 +02:00
1 parent f3d9ec3eef
commit 310e8eaf92
1 file changed
+2 -2
@@ -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 {
@@ -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.