diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/filelock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filelock.c b/src/filelock.c index 9ee09b4d072..429036f3305 100644 --- a/src/filelock.c +++ b/src/filelock.c | |||
| @@ -110,7 +110,6 @@ extern Lisp_Object Vshell_file_name; | |||
| 110 | static time_t | 110 | static time_t |
| 111 | get_boot_time () | 111 | get_boot_time () |
| 112 | { | 112 | { |
| 113 | #ifdef BOOT_TIME | ||
| 114 | struct utmp ut, *utp; | 113 | struct utmp ut, *utp; |
| 115 | int fd; | 114 | int fd; |
| 116 | EMACS_TIME time_before, after; | 115 | EMACS_TIME time_before, after; |
| @@ -166,6 +165,7 @@ get_boot_time () | |||
| 166 | } | 165 | } |
| 167 | #endif /* defined (CTL_KERN) && defined (KERN_BOOTTIME) */ | 166 | #endif /* defined (CTL_KERN) && defined (KERN_BOOTTIME) */ |
| 168 | 167 | ||
| 168 | #ifdef BOOT_TIME | ||
| 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 | ||