]> git.ipfire.org Git - thirdparty/make.git/commit
Fix the MS-Windows MinGW build
authorEli Zaretskii <eliz@gnu.org>
Sun, 24 Apr 2016 06:53:38 +0000 (09:53 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 24 Apr 2016 06:53:38 +0000 (09:53 +0300)
commit6e640321fdef276ae500c3263eab9962dbc625fd
tree441551fab636a19b26061e0b08cff1d4b11e4078
parent7241d136f4c249aa100af2da8a4f56b977b3d761
Fix the MS-Windows MinGW build

* build_w32.bat (GccCompile): Use -std=gnu99, as some code uses
C99 features ('for' loop initial declarations).

* dir.c (print_dir_data_base) [WINDOWS32]: Cast 'mtime' to
'int64_t', and use %I64d to print it, to avoid compile-time
warning about printing a 'time_t' value, which could be either
a 32-bit or a 64 bit integral type.
build_w32.bat
dir.c