Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Source/CoreGraphicsPolyfill.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ import Foundation

#if os(WASI)
import WASILibc
#elseif os(Linux) || os(Android)
#elseif canImport(Android)
import Android
#elseif canImport(Glibc)
import Glibc
#endif

Expand Down
4 changes: 3 additions & 1 deletion Source/Model/Primitives/SVGGradient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ import Foundation

#if os(WASI)
import WASILibc
#elseif os(Linux) || os(Android)
#elseif canImport(Android)
import Android
#elseif canImport(Glibc)
import Glibc
#endif

Expand Down
4 changes: 3 additions & 1 deletion Source/Parser/SVG/Primitives/SVGLengthParser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ import Foundation

#if os(WASI)
import WASILibc
#elseif os(Linux) || os(Android)
#elseif canImport(Android)
import Android
#elseif canImport(Glibc)
import Glibc
#endif

Expand Down
4 changes: 3 additions & 1 deletion Source/Parser/SVG/SVGParserPrimitives.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ import Foundation

#if os(WASI)
import WASILibc
#elseif os(Linux) || os(Android)
#elseif canImport(Android)
import Android
#elseif canImport(Glibc)
import Glibc
#endif

Expand Down
4 changes: 3 additions & 1 deletion Source/Parser/SVG/SVGPathReader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ public typealias MBezierPath = UIBezierPath
import FoundationEssentials
#if os(WASI)
import WASILibc
#elseif os(Linux) || os(Android)
#elseif canImport(Android)
import Android
#elseif canImport(Glibc)
import Glibc
#endif
#elseif os(WASI) || os(Linux) || os(Android)
Expand Down