aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1999-05-09 17:57:03 +0000
committerKarl Heuer1999-05-09 17:57:03 +0000
commitc6fd1dc43d2bca6e3ec8f8eedac752c9334b4c19 (patch)
tree2db301c2c91dc80d432f5896f6f4a11f0cd615b8 /src
parentd9db7b7b0e0d1be63e294d781e30ce14c01c5f19 (diff)
downloademacs-c6fd1dc43d2bca6e3ec8f8eedac752c9334b4c19.tar.gz
emacs-c6fd1dc43d2bca6e3ec8f8eedac752c9334b4c19.zip
(get_boot_time): Handle NO_WTMP_FILE.
Diffstat (limited to 'src')
-rw-r--r--src/filelock.c2
1 files changed, 1 insertions, 1 deletions
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 ()
165 } 165 }
166#endif /* defined (CTL_KERN) && defined (KERN_BOOTTIME) */ 166#endif /* defined (CTL_KERN) && defined (KERN_BOOTTIME) */
167 167
168#ifdef BOOT_TIME 168#if defined (BOOT_TIME) && ! defined (NO_WTMP_FILE)
169 /* Try to get boot time from the current wtmp file. */ 169 /* Try to get boot time from the current wtmp file. */
170 get_boot_time_1 (WTMP_FILE); 170 get_boot_time_1 (WTMP_FILE);
171 171