]> git.eshelyaron.com Git - emacs.git/commit
Fix MS-Windows build broken by make-fingerprint changes
authorEli Zaretskii <eliz@gnu.org>
Mon, 15 Apr 2019 14:17:01 +0000 (17:17 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 15 Apr 2019 14:17:01 +0000 (17:17 +0300)
commit3ec22997a208b8260c2a0e7a61888d7c0db4e4fd
tree24844ac09b4a6e26993de84101d82284f7648a23
parente29260b5f946156652c92fe77f97450c756d0367
Fix MS-Windows build broken by make-fingerprint changes

* lib-src/make-fingerprint.c (fseeko) [WNDOWSNT]: Define to
fseeko64 for non-MinGW64 MinGW.

* lib-src/ntlib.c (stat): Fix calculation of file size.
(fstat): New function, a subset of src/w32.c:fstat.  This is
needed because make-fingerprint.c now calls 'fstat', and the
MS version will fail to produce reliable results because
nt/inc/sys/stat.h redefines 'struct stat'.
lib-src/make-fingerprint.c
lib-src/ntlib.c