Replace truncate() with ftruncate()
Mingw32 does not have any truncate() API defined, but it does have ftruncate(). So replace use of the former with the latter
Showing
想要评论请 注册 或 登录
Mingw32 does not have any truncate() API defined, but it does have ftruncate(). So replace use of the former with the latter