Sign in
third-party-mirror
/
mingw-w64
/
79951edef1e76a79d7ce0fa1cf94391b2f6b3d94
/
.
/
mingw-w64-crt
/
misc
/
mingw_usleep.c
blob: 8246e0be1658b03702474a13b1332b1cc41ff653 [
file
] [
log
] [
blame
]
#ifndef
WIN32_LEAN_AND_MEAN
#define
WIN32_LEAN_AND_MEAN
#endif
#include
<windows.h>
#include
<sys/types.h>
#include
<errno.h>
int
__cdecl usleep
(
useconds_t
);
int
__cdecl
usleep
(
useconds_t
us
)
{
if
(
us
!=
0
)
Sleep
(
us
/
1000
);
return
0
;
}