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:
@@ -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{}
|
||||
|
Reference in New Issue
Block a user