From a774f056335dc1ef05fa5b1f9560431ddf0437d6 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Thu, 17 Jan 2013 09:54:55 -0800 Subject: [PATCH] Fix to allows builds without SIM_ASYNCH_IO defined to work on OSX --- sim_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim_timer.c b/sim_timer.c index ae6c015e..f71b8cb4 100644 --- a/sim_timer.c +++ b/sim_timer.c @@ -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)