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:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user