Change 64-bit lseek/fseeko/ftello/ftruncate definitions from macros to
__MINGW_ASM_CALL.
Enable 64-bit support for truncate function.
Pali Rohár (5):
headers: Avoid defining lseek macro for 64-bit lseek support
headers: Avoid defining fseeko macro for 64-bit fseeko support
headers: Avoid defining ftello macro for 64-bit ftello support
headers: Avoid defining ftruncate macro for 64-bit ftruncate support
headers: Enable 64-bit support for truncate() function for
-D_FILE_OFFSET_BITS=64
mingw-w64-headers/crt/io.h | 13 +++++--------
mingw-w64-headers/crt/stdio.h | 26 ++++++++++----------------
mingw-w64-headers/crt/unistd.h | 19 ++++++++++---------
3 files changed, 25 insertions(+), 33 deletions(-)
--
2.20.1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public