diff options
Diffstat (limited to 'src/runtime/rsys.r')
-rw-r--r-- | src/runtime/rsys.r | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/runtime/rsys.r b/src/runtime/rsys.r index f4bdfc1..83f6380 100644 --- a/src/runtime/rsys.r +++ b/src/runtime/rsys.r @@ -126,16 +126,11 @@ dptr d; int idelay(n) int n; { - #if MSWIN - Sleep(n); - return Succeeded; - #else /* MSWIN */ - struct timeval t; - t.tv_sec = n / 1000; - t.tv_usec = (n % 1000) * 1000; - select(1, NULL, NULL, NULL, &t); - return Succeeded; - #endif /* MSWIN */ + struct timeval t; + t.tv_sec = n / 1000; + t.tv_usec = (n % 1000) * 1000; + select(1, NULL, NULL, NULL, &t); + return Succeeded; } #ifdef KeyboardFncs |