More mingw fixes
This commit is contained in:
parent
82a3e78e04
commit
97b33fe069
2
posix.cc
2
posix.cc
@ -98,7 +98,7 @@ void fmt::BufferedFile::close() {
|
||||
throw SystemError(errno, "cannot close file");
|
||||
}
|
||||
|
||||
int (fmt::BufferedFile::fileno)() const {
|
||||
int fmt::BufferedFile::fileno() const {
|
||||
int fd = FMT_POSIX_CALL(fileno(file_));
|
||||
if (fd == -1)
|
||||
throw SystemError(errno, "cannot get file descriptor");
|
||||
|
Loading…
Reference in New Issue
Block a user