Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit 3b6bf5e

Browse files
FIX use canImport instead of swift(>=5.1) && os(Linux)
1 parent f4c620b commit 3b6bf5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/LambdaSwiftSprinterNioPlugin/LambdaApiNIO.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import AsyncHTTPClient
1616
import Foundation
17-
#if swift(>=5.1) && os(Linux)
17+
#if canImport(FoundationNetworking)
1818
import FoundationNetworking
1919
#endif
2020
import LambdaSwiftSprinter

0 commit comments

Comments
 (0)