repo.or.cz
/
wine.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Release 960314
[wine.git]
/
misc
/
port.c
blob
751750c21141b84a231e9f5c4101ccbf657070d8
1
#include <sys/time.h>
2
3
#ifndef HAVE_USLEEP
4
5
unsigned int
usleep
(
unsigned int
useconds
)
6
{
7
struct
timeval delay
;
8
9
delay
.
tv_sec
=
0
;
10
delay
.
tv_usec
=
useconds
;
11
12
(
void
)
select
(
0
, (
fd_set
*)
NULL
, (
fd_set
*)
NULL
, (
fd_set
*)
NULL
,
13
&
delay
);
14
return
0
;
15
}
16
17
#endif
/* HAVE_USLEEP */
18
19
20