Skip to content

Commit

Permalink
Add support for Android (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
finagolfin committed Jul 10, 2024
1 parent 98650c6 commit 5292041
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@

##### Enhancements

* Add support for compiling with the visionOS SDK.
* Add support for visionOS.
[ruralharry](http://github.com/ruralharry)

* Add support for Android.
[finagolfin](http://github.com/finagolfin)

* Add support for Bazel's `rules_swift` 2.x versions.
[Luis Padron](https://github.com/luispadron)

Expand Down
4 changes: 4 additions & 0 deletions Sources/Yams/Representer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ private let cpow: (_: Double, _: Double) -> Double = Darwin.pow
#elseif os(Windows)
import ucrt
private let cpow: (_: Double, _: Double) -> Double = ucrt.pow
#elseif canImport(Bionic)
import CoreFoundation
import Bionic
private let cpow: (_: Double, _: Double) -> Double = Bionic.pow
#else
import CoreFoundation
import Glibc
Expand Down

0 comments on commit 5292041

Please sign in to comment.