1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

enable macos syscalls

This commit is contained in:
Alexander Medvednikov
2020-01-01 12:10:39 +01:00
parent 2f8969c604
commit d226fa7b17
2 changed files with 10 additions and 10 deletions

View File

@ -329,8 +329,8 @@ pub fn (f mut File) close() {
return
}
f.opened = false
$if linux {
//$if linux_or_macos {
//$if linux {
$if linux_or_macos {
C.syscall(sys_close, f.fd)
return
}