diff options
author | Brent Cook <bcook@rapid7.com> | 2015-07-21 12:52:29 -0600 |
---|---|---|
committer | Brent Cook <bcook@rapid7.com> | 2015-07-21 12:52:29 -0600 |
commit | 9d5eb631e3db34ae7e62fcbded203ca7755fef2d (patch) | |
tree | 7b9bbad21fb1190a233c547bb09d264cd0f8e82c /include/compat/unistd.h | |
parent | 63161e85dc091cfdabfbeec975cdb4b1056701c9 (diff) | |
download | portable-9d5eb631e3db34ae7e62fcbded203ca7755fef2d.tar.gz portable-9d5eb631e3db34ae7e62fcbded203ca7755fef2d.tar.bz2 portable-9d5eb631e3db34ae7e62fcbded203ca7755fef2d.zip |
move sleep shim to posix_win.c
Diffstat (limited to 'include/compat/unistd.h')
-rw-r--r-- | include/compat/unistd.h | 6 |
1 files changed, 1 insertions, 5 deletions
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 @@ | |||
21 | 21 | ||
22 | #define access _access | 22 | #define access _access |
23 | 23 | ||
24 | static inline unsigned int sleep(unsigned int seconds) | 24 | unsigned int sleep(unsigned int seconds); |
25 | { | ||
26 | Sleep(seconds * 1000); | ||
27 | return seconds; | ||
28 | } | ||
29 | 25 | ||
30 | #endif | 26 | #endif |
31 | 27 | ||