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

time: fix ./v -o vcross -os cross cmd/v on macos

This commit is contained in:
Delyan Angelov 2021-09-06 19:50:16 +03:00
parent c6ff687e8a
commit f5a22f15d9

View File

@ -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{}
}