… | |
… | |
344 | # endif |
344 | # endif |
345 | #endif |
345 | #endif |
346 | |
346 | |
347 | /* this block fixes any misconfiguration where we know we run into trouble otherwise */ |
347 | /* this block fixes any misconfiguration where we know we run into trouble otherwise */ |
348 | |
348 | |
|
|
349 | #ifdef _AIX |
|
|
350 | /* AIX has a completely broken poll.h header */ |
|
|
351 | # undef EV_USE_POLL |
|
|
352 | # define EV_USE_POLL 0 |
|
|
353 | #endif |
|
|
354 | |
349 | #ifndef CLOCK_MONOTONIC |
355 | #ifndef CLOCK_MONOTONIC |
350 | # undef EV_USE_MONOTONIC |
356 | # undef EV_USE_MONOTONIC |
351 | # define EV_USE_MONOTONIC 0 |
357 | # define EV_USE_MONOTONIC 0 |
352 | #endif |
358 | #endif |
353 | |
359 | |
… | |
… | |
2157 | ANHE_at_cache (*he); |
2163 | ANHE_at_cache (*he); |
2158 | } |
2164 | } |
2159 | } |
2165 | } |
2160 | |
2166 | |
2161 | /* fetch new monotonic and realtime times from the kernel */ |
2167 | /* fetch new monotonic and realtime times from the kernel */ |
2162 | /* also detetc if there was a timejump, and act accordingly */ |
2168 | /* also detect if there was a timejump, and act accordingly */ |
2163 | inline_speed void |
2169 | inline_speed void |
2164 | time_update (EV_P_ ev_tstamp max_block) |
2170 | time_update (EV_P_ ev_tstamp max_block) |
2165 | { |
2171 | { |
2166 | #if EV_USE_MONOTONIC |
2172 | #if EV_USE_MONOTONIC |
2167 | if (expect_true (have_monotonic)) |
2173 | if (expect_true (have_monotonic)) |