mirror of
https://github.com/apple/swift-algorithms
synced 2026-11-26 04:27:48 +00:00
Fix build on Windows (#13)
log & exp are declared in `ucrt.corecrt.math`
This commit is contained in:
1 parent
3782207b2c
commit
864d460a07
1 file changed
+3
@@ -13,6 +13,9 @@
|
||||
#if canImport(Glibc)
|
||||
@_implementationOnly
|
||||
import Glibc
|
||||
#elseif canImport(ucrt)
|
||||
@_implementationOnly
|
||||
import ucrt
|
||||
#elseif canImport(Darwin)
|
||||
@_implementationOnly
|
||||
import Darwin
|
||||
|
||||
Reference in new issue
Block a user