From: Karl Heuer Date: Sun, 9 May 1999 17:57:03 +0000 (+0000) Subject: (get_boot_time): Handle NO_WTMP_FILE. X-Git-Tag: emacs-20.4~245 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c6fd1dc43d2bca6e3ec8f8eedac752c9334b4c19;p=emacs.git (get_boot_time): Handle NO_WTMP_FILE. --- diff --git a/src/filelock.c b/src/filelock.c index 3b65d127de9..d441d235770 100644 --- a/src/filelock.c +++ b/src/filelock.c @@ -165,7 +165,7 @@ get_boot_time () } #endif /* defined (CTL_KERN) && defined (KERN_BOOTTIME) */ -#ifdef BOOT_TIME +#if defined (BOOT_TIME) && ! defined (NO_WTMP_FILE) /* Try to get boot time from the current wtmp file. */ get_boot_time_1 (WTMP_FILE);