mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 15:21:51 -08:00
(get_boot_time): Handle NO_WTMP_FILE.
This commit is contained in:
parent
d9db7b7b0e
commit
c6fd1dc43d
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue