fixup: Remove Windows syscall adaptor for ftruncate

This commit is contained in:
Si Beaumont committed 2022-05-06 11:09:20 +01:00
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