mirror of
https://github.com/vlang/v.git
synced 2025-09-16 07:52:32 +03:00
time: fix ./v -o vcross -os cross cmd/v
on macos
This commit is contained in:
parent
c6ff687e8a
commit
f5a22f15d9
1 changed files with 10 additions and 0 deletions
|
@ -82,3 +82,13 @@ fn darwin_utc() Time {
|
|||
C.gettimeofday(&tv, 0)
|
||||
return unix2(i64(tv.tv_sec), int(tv.tv_usec))
|
||||
}
|
||||
|
||||
// dummy to compile with all compilers
|
||||
pub fn solaris_now() Time {
|
||||
return Time{}
|
||||
}
|
||||
|
||||
// dummy to compile with all compilers
|
||||
pub fn solaris_utc() Time {
|
||||
return Time{}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue