diff --git a/vlib/time/time_darwin.c.v b/vlib/time/time_darwin.c.v index d16c66b275..db8b9bb335 100644 --- a/vlib/time/time_darwin.c.v +++ b/vlib/time/time_darwin.c.v @@ -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{} +}