mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 23:37:13 +00:00
Fix to allows builds without SIM_ASYNCH_IO defined to work on OSX
This commit is contained in:
parent
99eb870891
commit
a774f05633
@ -399,7 +399,7 @@ if (tim > SIM_IDLE_MAX)
|
||||
tim = 0;
|
||||
return tim;
|
||||
}
|
||||
#if !defined(_POSIX_SOURCE) && defined(SIM_ASYNCH_IO)
|
||||
#if !defined(_POSIX_SOURCE)
|
||||
#ifdef NEED_CLOCK_GETTIME
|
||||
typedef int clockid_t;
|
||||
int clock_gettime(clockid_t clk_id, struct timespec *tp)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user