From: Eli Zaretskii Date: Thu, 27 Jan 2000 15:17:27 +0000 (+0000) Subject: (start_atimer) [!HAVE_SETITIMER]: Use EMACS_SET_SECS X-Git-Tag: emacs-pretest-21.0.90~5242 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4ce94f99894afc617613bc7e50dd1440c7175488;p=emacs.git (start_atimer) [!HAVE_SETITIMER]: Use EMACS_SET_SECS and EMACS_SET_USECS. --- diff --git a/src/atimer.c b/src/atimer.c index 92f5076fcc7..d4cd6ef4801 100644 --- a/src/atimer.c +++ b/src/atimer.c @@ -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 */