From 9d5eb631e3db34ae7e62fcbded203ca7755fef2d Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Tue, 21 Jul 2015 12:52:29 -0600 Subject: move sleep shim to posix_win.c --- include/compat/unistd.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include') diff --git a/include/compat/unistd.h b/include/compat/unistd.h index 4676dc8..5dc2908 100644 --- a/include/compat/unistd.h +++ b/include/compat/unistd.h @@ -21,11 +21,7 @@ #define access _access -static inline unsigned int sleep(unsigned int seconds) -{ - Sleep(seconds * 1000); - return seconds; -} +unsigned int sleep(unsigned int seconds); #endif -- cgit v1.2.3-55-g6feb