Skip to content

Commit

Permalink
Merge pull request tayloraswift#79 from ohbargain/master
Browse files Browse the repository at this point in the history
add support for static linux sdk
  • Loading branch information
tayloraswift authored Nov 2, 2024
2 parents 6136807 + f6f9cef commit 467f8b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/PNG/System.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@

#if os(macOS) || os(iOS)
import Darwin
#elseif os(Linux)
#elseif canImport(Glibc)
import Glibc
#elseif canImport(Musl)
import Musl
#elseif os(Windows)
#warning("Windows in not oficially supported and is untested platform (please open an issue at https://github.com/tayloraswift/swift-png/issues)")
import ucrt
Expand Down

0 comments on commit 467f8b6

Please sign in to comment.