Mercurial > emacs
changeset 24459:4e6a6d86b3af
(get_boot_time): Reduce scope of #ifdef BOOT_TIME
to only the part that uses get_boot_time_1.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 09 Mar 1999 03:31:10 +0000 |
parents | 1544b0109c3b |
children | be35d27a4bfb |
files | src/filelock.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/filelock.c Tue Mar 09 03:29:04 1999 +0000 +++ b/src/filelock.c Tue Mar 09 03:31:10 1999 +0000 @@ -110,7 +110,6 @@ static time_t get_boot_time () { -#ifdef BOOT_TIME struct utmp ut, *utp; int fd; EMACS_TIME time_before, after; @@ -166,6 +165,7 @@ } #endif /* defined (CTL_KERN) && defined (KERN_BOOTTIME) */ +#ifdef BOOT_TIME /* Try to get boot time from the current wtmp file. */ get_boot_time_1 (WTMP_FILE);