mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fix Windows warnings
This commit is contained in:

committed by
Alexander Medvednikov

parent
e577b40743
commit
1dadf9d966
@ -445,7 +445,7 @@ pub fn ticks() i64 {
|
||||
|
||||
pub fn sleep(seconds int) {
|
||||
$if windows {
|
||||
C._sleep(seconds * 1000)
|
||||
C.Sleep(seconds * 1000)
|
||||
}
|
||||
$else {
|
||||
C.sleep(seconds)
|
||||
|
Reference in New Issue
Block a user