changeset 27452:7580a16f676c

(start_atimer) [!HAVE_SETITIMER]: Use EMACS_SET_SECS and EMACS_SET_USECS.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 27 Jan 2000 15:17:27 +0000
parents f062cc830f07
children 24d224d16876
files src/atimer.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 */