From 4ce94f99894afc617613bc7e50dd1440c7175488 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 27 Jan 2000 15:17:27 +0000 Subject: [PATCH] (start_atimer) [!HAVE_SETITIMER]: Use EMACS_SET_SECS and EMACS_SET_USECS. --- src/atimer.c | 4 ++-- 1 file 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) #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 */ -- 2.39.5