file_posix works without large file support

fix #632
This commit is contained in:
Vinnie Falco
2017-07-10 06:45:21 -07:00
parent 8f43bcc197
commit eb4a4d41f0
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Version 77:
* file_posix works without large file support
--------------------------------------------------------------------------------
Version 76:
* Always go through write_some

View File

@ -208,8 +208,6 @@ size(error_code& ec) const
ec.assign(errc::invalid_argument, generic_category());
return 0;
}
BOOST_STATIC_ASSERT(
sizeof(stat::st_size) == sizeof(std::uint64_t));
struct stat st;
if(::fstat(fd_, &st) != 0)
{