diff options
author | Eli Zaretskii <eliz@gnu.org> | 2023-08-10 11:44:49 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2023-08-10 11:44:49 +0300 |
commit | f2e3d2f1256da2a551cfe3fa685e582eb6d09d60 (patch) | |
tree | 4edef90494c957c2ebb93fcfe4734b32fc9ceca3 /nt | |
parent | 49248878d4da7dbf901a7cd555e129803ac5e095 (diff) | |
download | emacs-f2e3d2f1256da2a551cfe3fa685e582eb6d09d60.tar.gz |
Streamline definition of BOOT_TIME_FILE on MS-Windows
* nt/inc/ms-w32.h: Don't define BOOT_TIME_FILE here...
* configure.ac: ...define it here instead, as for the other
systems.
Diffstat (limited to 'nt')
-rw-r--r-- | nt/inc/ms-w32.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/nt/inc/ms-w32.h b/nt/inc/ms-w32.h index 58be1199345..fce15fcbd8c 100644 --- a/nt/inc/ms-w32.h +++ b/nt/inc/ms-w32.h @@ -111,18 +111,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ # endif #endif -/* This isn't perfect, as some systems might have the page file in - another place. Also, I suspect that the time stamp of that file - might also change when Windows enlarges the file due to - insufficient VM. Still, this seems to be the most reliable way; - the alternative (of using GetSystemTimes) won't work on laptops - that hibernate, because the system clock is stopped then. Other - possibility would be to run "net statistics workstation" and parse - 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. */ -#define BOOT_TIME_FILE "C:/pagefile.sys" - /* ============================================================ */ /* Here, add any special hacks needed to make Emacs work on this |