mirror of
https://github.com/apple/swift-system
synced 2026-11-27 05:04:27 +00:00
Internals: replace CModeT with CInterop.Mode (#40)
The typealias was renamed but the reference to it was not fully removed. This updates the instance enabling building System on Windows.
This commit is contained in:
1 parent
a973b97147
commit
65a906baf1
1 file changed
+2
-1
@@ -23,7 +23,8 @@ internal func open(
|
||||
|
||||
@inline(__always)
|
||||
internal func open(
|
||||
_ path: UnsafePointer<CInterop.PlatformChar>, _ oflag: Int32, _ mode: CModeT
|
||||
_ path: UnsafePointer<CInterop.PlatformChar>, _ oflag: Int32,
|
||||
_ mode: CInterop.Mode
|
||||
) -> CInt {
|
||||
// TODO(compnerd): Apply read/write permissions
|
||||
var fh: CInt = -1
|
||||
|
||||
Reference in new issue
Block a user