From eb4a4d41f07df5215b215f18300c2670a0958b82 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Mon, 10 Jul 2017 06:45:21 -0700 Subject: [PATCH] file_posix works without large file support fix #632 --- CHANGELOG.md | 6 ++++++ include/beast/core/impl/file_posix.ipp | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bb21497..173c073c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +Version 77: + +* file_posix works without large file support + +-------------------------------------------------------------------------------- + Version 76: * Always go through write_some diff --git a/include/beast/core/impl/file_posix.ipp b/include/beast/core/impl/file_posix.ipp index 072ee9af..6a637849 100644 --- a/include/beast/core/impl/file_posix.ipp +++ b/include/beast/core/impl/file_posix.ipp @@ -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) {