From 145d03d4d66a435d3a5137dda7164e65109e514d Mon Sep 17 00:00:00 2001 From: Francesco Paolo Severino Date: Tue, 5 Nov 2024 19:44:58 +0100 Subject: [PATCH] Update compiler version check for custom file extensions --- Sources/Zip/Zip.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Zip/Zip.swift b/Sources/Zip/Zip.swift index 876803b2..61a537c9 100644 --- a/Sources/Zip/Zip.swift +++ b/Sources/Zip/Zip.swift @@ -12,7 +12,7 @@ import Foundation /// Main class that handles zipping and unzipping of files. public class Zip { // Set of vaild file extensions - #if compiler(>=6.0) + #if compiler(>=5.10) nonisolated(unsafe) private static var customFileExtensions: Set = [] #else private static var customFileExtensions: Set = []