Commit 77109fa8 authored by Dmitry Antipov's avatar Dmitry Antipov

* atimer.c (set_alarm) [HAVE_ITIMERSPEC]: Use TIMER_ABSTIME

because atimer expiration is absolute rather than relative.
parent 4e69163f
2014-07-26 Dmitry Antipov <dmantipov@yandex.ru>
* atimer.c (set_alarm) [HAVE_ITIMERSPEC]: Use TIMER_ABSTIME
because atimer expiration is absolute rather than relative.
2014-07-25 Eli Zaretskii <eliz@gnu.org>
* w32term.h (current_popup_menu, menubar_in_use): Move
......
......@@ -291,7 +291,7 @@ set_alarm (void)
struct itimerspec ispec;
ispec.it_value = atimers->expiration;
ispec.it_interval.tv_sec = ispec.it_interval.tv_nsec = 0;
if (timer_settime (alarm_timer, 0, &ispec, 0) == 0)
if (timer_settime (alarm_timer, TIMER_ABSTIME, &ispec, 0) == 0)
return;
}
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment