From 03eab5b69c0fc6d65c945caecc5a69f9f028e88f Mon Sep 17 00:00:00 2001 From: zunda <47569369+zunda-pixel@users.noreply.github.com> Date: Tue, 16 Jul 2024 11:44:23 +0900 Subject: [PATCH] remove #if for old platform --- Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift b/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift index c8fb1dc..1cdb689 100644 --- a/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift +++ b/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift @@ -133,10 +133,6 @@ extension URLSession { #endif } -#endif - -#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) || os(visionOS) || compiler(>=6) - @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *) extension URLSession { /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.