diff options
Diffstat (limited to 'lib/sys/sys+osx-x64.myr')
-rw-r--r-- | lib/sys/sys+osx-x64.myr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sys/sys+osx-x64.myr b/lib/sys/sys+osx-x64.myr index 2c42094..3de3875 100644 --- a/lib/sys/sys+osx-x64.myr +++ b/lib/sys/sys+osx-x64.myr @@ -840,7 +840,7 @@ extern const __osx_fork : (-> pid) extern const __osx_pipe : (fd : fd[2]# -> int64) extern const __osx_getpid : (-> pid) extern const __osx_lseek : (fd:fd, off:off, whence:whence -> off) -extern const __osx_gettimeofday : (tv : timeval#, tz : timezone# -> int) +extern const __osx_gettimeofday : (tv : timeval#, tz : timezone#, abstime : uint64# -> int) /* extern const __osx_ptrace extern const __osx_signalstack @@ -988,7 +988,7 @@ const mmap = {addr, len, prot, flags, fd, off; -> (syscall(Sysmmap, a(addr), a(len), a(prot), a(flags), a(fd), a(off)) : byte#)} /* time */ -const gettimeofday = {tv, tz; -> (__osx_gettimeofday(tv, tz) : int)} +const gettimeofday = {tv, tz; -> (__osx_gettimeofday(tv, tz, (0 : uint64#)) : int)} const settimeofday = {tv, tz; -> (syscall(Syssettimeofday, a(tv), a(tz)) : int)} /* faked with gettimeofday */ |