Commit 3fbac8e2 authored by JamesReynolds's avatar JamesReynolds

Closes #717

Failure to compile to systems that don't have a valid definition
of strerror_r.
parent 41313470
......@@ -397,6 +397,11 @@ inline std::string errno_to_string(char buf[256], int res)
return "Unknown error";
}
inline std::string errno_to_string(char buf[256], const fmt::internal::Null<> &/*tag*/)
{
return errno_to_string(buf, -1);
}
// Return errno string (thread safe)
inline std::string errno_str(int err_num)
{
......
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