mirror of
https://github.com/simh/simh.git
synced 2026-01-25 11:46:37 +00:00
Fix to allows builds without SIM_ASYNCH_IO defined to work on OSX
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user