1
0
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:
Nicolas Sauzede
2019-11-16 00:30:50 +01:00
committed by Alexander Medvednikov
parent e577b40743
commit 1dadf9d966
13 changed files with 92 additions and 61 deletions

View File

@ -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)