diff options
author | Ron Yorston <rmy@pobox.com> | 2017-01-18 10:44:58 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2017-01-18 10:44:58 +0000 |
commit | c6ec14a39aa1a6fe98fe4bec1ee3d545be9d5410 (patch) | |
tree | 0418751d350ea0190c4f1516d4bc8bc4e9350bcf /include | |
parent | 373ca863f65de0c572faf80fab5586755d073fc8 (diff) | |
download | busybox-w32-c6ec14a39aa1a6fe98fe4bec1ee3d545be9d5410.tar.gz busybox-w32-c6ec14a39aa1a6fe98fe4bec1ee3d545be9d5410.tar.bz2 busybox-w32-c6ec14a39aa1a6fe98fe4bec1ee3d545be9d5410.zip |
win32: implement nanosleep and enable float sleep by default
Don't expect sleeping for fractions of a second to be very accurate.
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h index 04700963c..6d4d2b31c 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -341,6 +341,8 @@ struct timespec { | |||
341 | }; | 341 | }; |
342 | #endif | 342 | #endif |
343 | 343 | ||
344 | int nanosleep(const struct timespec *req, struct timespec *rem); | ||
345 | |||
344 | /* | 346 | /* |
345 | * sys/wait.h | 347 | * sys/wait.h |
346 | */ | 348 | */ |