_NIODataStructures: repair the build on Windows (#2128)
Import `ucrt` which is the MSVC C library to match the behaviour of the other platforms. This allows building `_NIODataStructures` on Windows.
This commit is contained in:
parent
78da9a1799
commit
5f8608bf0b
|
@ -15,6 +15,8 @@
|
|||
import Darwin.C
|
||||
#elseif os(Linux) || os(FreeBSD) || os(Android)
|
||||
import Glibc
|
||||
#elseif os(Windows)
|
||||
import ucrt
|
||||
#endif
|
||||
|
||||
@usableFromInline
|
||||
|
|
Loading…
Reference in New Issue