Skip to content

Commit 38d21e5

Browse files
committed
Fix Windows build by adding ucrt import for math functions
1 parent a0c5e7b commit 38d21e5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Sources/CBOR/CBOR.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import Foundation
88
import Darwin
99
#elseif canImport(Glibc)
1010
import Glibc
11+
#elseif os(Windows)
12+
import ucrt
1113
#endif
1214

1315
// MARK: - CBOR Type

0 commit comments

Comments
 (0)