summaryrefslogtreecommitdiff
path: root/nt
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-08-09 12:06:25 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2023-08-09 12:15:47 -0700
commitcc0a30a876adffa5ec110df9f4e0f21097f6d73e (patch)
tree024bc0acb8de48aebed591b25aeb02508038272d /nt
parent020b5d7fefd255117ab4fca636146b5b59c8fb84 (diff)
downloademacs-cc0a30a876adffa5ec110df9f4e0f21097f6d73e.tar.gz
Adjust to random-seed move
For some time, GNU/Linux systems have put their random-seed file somewhere other than where src/filelock.c looks for it. Catch up to this by having 'configure' scout for it. * configure.ac (BOOT_TIME_FILE): Define this at configure-time. * nt/inc/ms-w32.h (BOOT_TIME_FILE): Override 'configure'. * src/filelock.c (BOOT_TIME_FILE): Remove default definition, since 'configure' defaults it now.
Diffstat (limited to 'nt')
-rw-r--r--nt/inc/ms-w32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nt/inc/ms-w32.h b/nt/inc/ms-w32.h
index 58be1199345..b23fd5030fa 100644
--- a/nt/inc/ms-w32.h
+++ b/nt/inc/ms-w32.h
@@ -121,6 +121,7 @@ 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"
/* ============================================================ */