1
0
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:
Mark Pizzolato 2013-01-17 09:54:55 -08:00
parent 99eb870891
commit a774f05633

View File

@ -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)