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