From c823cea00ef2b5e14457efe437db3a4aefe75667 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Thu, 18 Jan 2007 14:04:41 +0100 Subject: [PATCH] Implement sleep(). --- compat/mingw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/compat/mingw.c b/compat/mingw.c index 8ed621d004..6d067c9450 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -66,6 +66,7 @@ int setitimer(int __which, const struct itimerval *__value, } unsigned int sleep (unsigned int __seconds) { + Sleep(__seconds*1000); return 0; } const char *inet_ntop(int af, const void *src, -- 2.11.4.GIT