• Eli Zaretskii's avatar
    Fix MS-Windows build broken by make-fingerprint changes · 3ec22997
    Eli Zaretskii authored
    * 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'.
    3ec22997
make-fingerprint.c 3.99 KB