Skip to content

Commit

Permalink
Fix build on Windows (#13)
Browse files Browse the repository at this point in the history
log & exp are declared in `ucrt.corecrt.math`
  • Loading branch information
egorzhdan authored Oct 12, 2020
1 parent 3782207 commit 864d460
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/Algorithms/RandomSample.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
#if canImport(Glibc)
@_implementationOnly
import Glibc
#elseif canImport(ucrt)
@_implementationOnly
import ucrt
#elseif canImport(Darwin)
@_implementationOnly
import Darwin
Expand Down

0 comments on commit 864d460

Please sign in to comment.