Unverified Commit 74654c8c authored by darklukee's avatar darklukee Committed by GitHub

Fix compilation for systems without fcntl.h (#1942)

Co-authored-by: default avatardarklukee <no-reply@hidden>
parent f468b203
......@@ -62,7 +62,7 @@ using RWResult = int;
inline unsigned convert_rwcount(std::size_t count) {
return count <= UINT_MAX ? static_cast<unsigned>(count) : UINT_MAX;
}
#else
#elif FMT_USE_FCNTL
// Return type of read and write functions.
using RWResult = ssize_t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment