summaryrefslogtreecommitdiff
path: root/mysys/my_sleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_sleep.c')
-rw-r--r--mysys/my_sleep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysys/my_sleep.c b/mysys/my_sleep.c
index 3de2d2abd13..31eaf7eeb96 100644
--- a/mysys/my_sleep.c
+++ b/mysys/my_sleep.c
@@ -23,6 +23,8 @@ void my_sleep(ulong m_seconds)
{
#ifdef __NETWARE__
delay(m_seconds/1000+1);
+#elif defined(__WIN__)
+ Sleep(m_seconds/1000+1); /* Sleep() has millisecond arg */
#elif defined(OS2)
DosSleep(m_seconds/1000+1);
#elif defined(HAVE_SELECT)