Commit 4ce94f99 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(start_atimer) [!HAVE_SETITIMER]: Use EMACS_SET_SECS

and EMACS_SET_USECS.
parent 984ae001
......@@ -100,8 +100,8 @@ start_atimer (type, time, fn, client_data)
#ifndef HAVE_SETITIMER
if (EMACS_USECS (time) != 0)
{
EMACS_USECS (time) = 0;
++EMACS_SECS (time);
EMACS_SET_USECS (time, 0);
EMACS_SET_SECS (time, EMACS_SECS (time) + 1);
}
#endif /* not HAVE_SETITIMER */
......
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