Import Upstream version 1.0.16
This commit is contained in:
parent
d09cb3d82a
commit
bb1aebd963
11 changed files with 70 additions and 50 deletions
|
|
@ -165,7 +165,7 @@ int gettimeofday(struct timeval *tv, void *tz) {
|
|||
#endif
|
||||
|
||||
#ifndef HAVE_USLEEP
|
||||
int usleep(long usec) {
|
||||
int usleep(long long usec) {
|
||||
struct timeval tv = {usec / 1000000, (usec / 1000) % 1000};
|
||||
select(0, NULL, NULL, NULL, &tv);
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ extern int gettimeofday(struct timeval *, void *);
|
|||
#endif
|
||||
|
||||
#ifndef HAVE_USLEEP
|
||||
extern int usleep(long);
|
||||
extern int usleep(long long);
|
||||
#endif
|
||||
|
||||
#endif /* __DROPIN_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue