summaryrefslogtreecommitdiff
path: root/nt
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2023-08-10 01:53:26 +0000
committerPo Lu <luangruo@yahoo.com>2023-08-10 01:53:26 +0000
commitc4e0b10f18255bc45a9e15c5bde9b11b95e9ad0f (patch)
tree47d84bde0eb32b2548f65293d37bb059807f9a17 /nt
parente1d08e9e11d2bd5e93c8ae4ea4a8e27129b316cb (diff)
downloademacs-c4e0b10f18255bc45a9e15c5bde9b11b95e9ad0f.tar.gz
Fix the MS-DOS, Haiku, USG, etc builds
* configure.ac (emacs_cv_boot_time_file): Only compute this on GNU/Linux, the sole system with systemd. * nt/inc/ms-w32.h (BOOT_TIME_FILE): Remove now redundant #undef. * src/filelock.c (get_boot_time): Eschew BOOT_TIME_FILE if not defined.
Diffstat (limited to 'nt')
-rw-r--r--nt/inc/ms-w32.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/nt/inc/ms-w32.h b/nt/inc/ms-w32.h
index b23fd5030fa..58be1199345 100644
--- a/nt/inc/ms-w32.h
+++ b/nt/inc/ms-w32.h
@@ -121,7 +121,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
the output, but that's gross. So this should do; if the file is
not there, the boot time will be returned as zero, and filelock.c
already handles that. */
-#undef BOOT_TIME_FILE
#define BOOT_TIME_FILE "C:/pagefile.sys"
/* ============================================================ */