Fix to allows builds without SIM_ASYNCH_IO defined to work on OSX
This commit is contained in:
parent
99eb870891
commit
a774f05633
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@ if (tim > SIM_IDLE_MAX)
|
||||||
tim = 0;
|
tim = 0;
|
||||||
return tim;
|
return tim;
|
||||||
}
|
}
|
||||||
#if !defined(_POSIX_SOURCE) && defined(SIM_ASYNCH_IO)
|
#if !defined(_POSIX_SOURCE)
|
||||||
#ifdef NEED_CLOCK_GETTIME
|
#ifdef NEED_CLOCK_GETTIME
|
||||||
typedef int clockid_t;
|
typedef int clockid_t;
|
||||||
int clock_gettime(clockid_t clk_id, struct timespec *tp)
|
int clock_gettime(clockid_t clk_id, struct timespec *tp)
|
||||||
|
|
Loading…
Add table
Reference in a new issue