# HG changeset patch # User Eli Zaretskii # Date 948986247 0 # Node ID 7580a16f676cca51908cb9ac88329e3dff485a4e # Parent f062cc830f072ddb1de5586caa8ff53416e94745 (start_atimer) [!HAVE_SETITIMER]: Use EMACS_SET_SECS and EMACS_SET_USECS. diff -r f062cc830f07 -r 7580a16f676c src/atimer.c --- a/src/atimer.c Thu Jan 27 14:31:16 2000 +0000 +++ b/src/atimer.c Thu Jan 27 15:17:27 2000 +0000 @@ -100,8 +100,8 @@ #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 */