summaryrefslogtreecommitdiff
path: root/src/runtime/rsys.r
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-01-28 19:02:21 +0000
committerIgor Pashev <pashev.igor@gmail.com>2013-01-28 19:02:21 +0000
commitd78e6c19ff93964183950f846868ade625e6b537 (patch)
treef2d588a9646c8496db23d3fe868d7dce4f7dfa83 /src/runtime/rsys.r
parentf944578414d5adc0c6c3fb22ad5808077444a410 (diff)
parentf627f77f23d1497c9e1f4269b5c8812d12b42f18 (diff)
downloadicon-d78e6c19ff93964183950f846868ade625e6b537.tar.gz
Merge tag 'upstream/9.5.0'
Upstream version 9.5.0
Diffstat (limited to 'src/runtime/rsys.r')
-rw-r--r--src/runtime/rsys.r15
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