* signal.cc (usleep): Use useconds_t for the type as per POSIX.
This commit is contained in:
parent
ead5b131e0
commit
ecd5f070c8
@ -1,3 +1,7 @@
|
||||
2007-06-12 Christopher Faylor <me+cygwin@cgf.cx>
|
||||
|
||||
* signal.cc (usleep): Use useconds_t for the type as per POSIX.
|
||||
|
||||
2007-06-12 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* Makefile.in (DLL_OFILES): Add xsique.o.
|
||||
|
@ -135,7 +135,7 @@ sleep (unsigned int seconds)
|
||||
}
|
||||
|
||||
extern "C" unsigned int
|
||||
usleep (unsigned int useconds)
|
||||
usleep (useconds_t useconds)
|
||||
{
|
||||
struct timespec req;
|
||||
req.tv_sec = useconds / 1000000;
|
||||
|
Loading…
Reference in New Issue
Block a user