_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:
Saleem Abdulrasool 2022-05-30 09:51:13 -07:00 committed by GitHub
parent 78da9a1799
commit 5f8608bf0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@
import Darwin.C
#elseif os(Linux) || os(FreeBSD) || os(Android)
import Glibc
#elseif os(Windows)
import ucrt
#endif
@usableFromInline