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

lots of Windows fixes and cross compilation for Windows

This commit is contained in:
Alexander Medvednikov
2019-07-01 11:01:48 +02:00
parent e71213ba4f
commit 99a9a6572a
6 changed files with 132 additions and 156 deletions

View File

@@ -303,7 +303,12 @@ pub fn sleep(seconds int) {
}
pub fn usleep(n int) {
$if windows {
//C._usleep(n)
}
$else {
C.usleep(n)
}
}
pub fn sleep_ms(n int) {