2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>

* include/sys/time.h (useconds_t): typedef.
        * include/unistd.h (usleep): Add prototype.
        * mingwex/usleep.c: New file.
        * mingwex/makefile.in: Add usleep source and object.
This commit is contained in:
Chris Sutcliffe
2008-05-04 12:18:52 +00:00
parent d5992b586e
commit 1e6db69571
4 changed files with 55 additions and 1 deletions

View File

@ -31,6 +31,11 @@
extern "C" {
#endif
#if !defined __NO_ISOCEXT
#include <sys/types.h> /* For useconds_t. */
int __cdecl __MINGW_NOTHROW usleep(useconds_t useconds);
#endif /* Not __NO_ISOCEXT */
/* This is defined as a real library function to allow autoconf
to verify its existence. */