aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2000-01-27 15:17:27 +0000
committerEli Zaretskii2000-01-27 15:17:27 +0000
commit4ce94f99894afc617613bc7e50dd1440c7175488 (patch)
treef3c2761e57c9c0d8938abbeb935b9343e6cf8087 /src
parent984ae001715c945ef1e81fba2d80607f486332f2 (diff)
downloademacs-4ce94f99894afc617613bc7e50dd1440c7175488.tar.gz
emacs-4ce94f99894afc617613bc7e50dd1440c7175488.zip
(start_atimer) [!HAVE_SETITIMER]: Use EMACS_SET_SECS
and EMACS_SET_USECS.
Diffstat (limited to 'src')
-rw-r--r--src/atimer.c4
1 files changed, 2 insertions, 2 deletions
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)
100#ifndef HAVE_SETITIMER 100#ifndef HAVE_SETITIMER
101 if (EMACS_USECS (time) != 0) 101 if (EMACS_USECS (time) != 0)
102 { 102 {
103 EMACS_USECS (time) = 0; 103 EMACS_SET_USECS (time, 0);
104 ++EMACS_SECS (time); 104 EMACS_SET_SECS (time, EMACS_SECS (time) + 1);
105 } 105 }
106#endif /* not HAVE_SETITIMER */ 106#endif /* not HAVE_SETITIMER */
107 107