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

clipboard: add a clipboard.x11 submodule, use it by default; add a clipboard.dummy for solaris

This commit is contained in:
Delyan Angelov
2020-12-25 19:21:42 +02:00
parent 17cccc7b36
commit 270ba07e83
5 changed files with 67 additions and 53 deletions

View File

@@ -21,21 +21,11 @@ fn solaris_utc() Time {
return unix2(int(ts.tv_sec), int(ts.tv_nsec / 1000))
}
// dummy to compile with all compilers
pub fn linux_now() Time {
return Time{}
}
// dummy to compile with all compilers
pub fn darwin_now() Time {
return Time{}
}
// dummy to compile with all compilers
pub fn linux_utc() Time {
return Time{}
}
// dummy to compile with all compilers
pub fn darwin_utc() Time {
return Time{}