From c4e0b10f18255bc45a9e15c5bde9b11b95e9ad0f Mon Sep 17 00:00:00 2001 From: Po Lu Date: Thu, 10 Aug 2023 01:53:26 +0000 Subject: 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. --- nt/inc/ms-w32.h | 1 - 1 file changed, 1 deletion(-) (limited to 'nt') 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 . */ 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" /* ============================================================ */ -- cgit v1.2.3