Commit 6305de53 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Make darwin fixes compile on linux again.

parent 8823c61e
package fuse package fuse
import (
"syscall"
)
func (a *Attr) FromStat(s *syscall.Stat_t) { func (a *Attr) FromStat(s *syscall.Stat_t) {
a.Ino = uint64(s.Ino) a.Ino = uint64(s.Ino)
......
package fuse package fuse
import ( import (
"fmt"
"syscall" "syscall"
) )
......
package raw package raw
import (
"syscall"
)
init() { func init() {
OpenFlagNames[syscall.O_DIRECT] = "DIRECT" OpenFlagNames[syscall.O_DIRECT] = "DIRECT"
OpenFlagNames[syscall.O_LARGEFILE] = "LARGEFILE" OpenFlagNames[syscall.O_LARGEFILE] = "LARGEFILE"
OpenFlagNames[syscall_O_NOATIME] = "NOATIME" OpenFlagNames[syscall_O_NOATIME] = "NOATIME"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment