mirror of
https://github.com/apple/swift-system
synced 2026-11-26 04:57:54 +00:00
fixup: Remove Windows syscall adaptor for ftruncate
This commit is contained in:
1 parent
5d3519dcef
commit
7fab65f340
1 file changed
-7
@@ -105,11 +105,4 @@ internal func pwrite(
|
||||
return Int(nNumberOfBytesWritten)
|
||||
}
|
||||
|
||||
@inline(__always)
|
||||
internal func ftruncate(
|
||||
_ fd: Int32, _ length: off_t
|
||||
) -> Int32 {
|
||||
_chsize(fd, numericCast(length))
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user