On 8/3/2015 07:51, Mateusz wrote: > Now _lock_file/_unlock_file are in stdio/mingw_lock.c (new) file. > > printf_full.diff works out of the box but I edited makefile.am & > makefile.in by hands which is wrong. I tested this patch with 64 and > 32-bit GCC 5.2 with link to msvcrt.dll/msvcr100.dll/msvcr120.dll -- all > is working. > > printf.diff is only with *.c files and needs (proper) modification to > makefile.am/makefile.in -- stdio/mingw_lock.c should go to libmsvcrt.a > and to libmsvcr80.a > > I attached new version of test-stdio.c because when I test with 32-bit > GCC and link to msvcr120.dll there is no "ftime" function, so I changed > to "_ftime64". >
Kai, Jacek, jean or any other reviewers? Any objections? I am in favor due to it being more simple than jumping through more macro hoops.
0xD4EBC740.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public