#323 _mkgmtime64 not provided for Windows XP

open
nobody
crt (84)
5
2012-10-30
2012-10-30
Anonymous
No

Libarchive uses _mkgmtime64 for reading certain archive formats. I can compile a copy of libarchive using MinGW without error.

Runtime of the binary on Windows 7 32/64-bit does not pose any problems. When I try to use the same library on Windows XP SP3 32-bit I get a "cannot find entry point" error regarding _mkgmtime64 in msvcrt.dll.

Fedora 17 x86_64
MinGW CRT/Headers 20121016
$ i686-w64-mingw32-gcc --version
i686-w64-mingw32-gcc (GCC) 4.7.0 20120322 (Fedora MinGW 4.7.0-2.fc17)

Discussion