Skip to content

Commit

Permalink
modifications to be able to work with visionOS (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenTincher authored Nov 19, 2024
1 parent c7fbcb2 commit 261c3c7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import PackageDescription

var targetDependencies: [Target.Dependency] = []

#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
#if !os(Linux)

let CryptoLibUrl = "https://github.com/Kitura/CommonCrypto.git"
let CryptoLibVersion: Package.Dependency.Requirement = .upToNextMajor(from: "1.0.200")
Expand Down
2 changes: 1 addition & 1 deletion [email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import PackageDescription

var targetDependencies: [Target.Dependency] = []

#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
#if !os(Linux)

let CryptoLibUrl = "https://github.com/Kitura/CommonCrypto.git"
let CryptoLibVersion: Package.Dependency.Requirement = .upToNextMajor(from: "1.0.200")
Expand Down
2 changes: 1 addition & 1 deletion Sources/CryptorRSA/CryptorRSADigest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// limitations under the License.
//

#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
#if !os(Linux)
import CommonCrypto
#elseif os(Linux)
import OpenSSL
Expand Down
2 changes: 1 addition & 1 deletion Sources/CryptorRSA/CryptorRSAKey.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// limitations under the License.
//

#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
#if !os(Linux)
import CommonCrypto
#elseif os(Linux)
import OpenSSL
Expand Down
2 changes: 1 addition & 1 deletion Sources/CryptorRSA/CryptorRSAUtilities.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// limitations under the License.
//

#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
#if !os(Linux)
import CommonCrypto
#elseif os(Linux)
import OpenSSL
Expand Down

0 comments on commit 261c3c7

Please sign in to comment.