#include <system_error>
+#ifndef SIMGRID_MC_SYSTEM_ERROR_HPP
+#define SIMGRID_MC_SYSTEM_ERROR_HPP
+
namespace simgrid {
namespace xbt {
}
inline
-std::system_error errno_error(int errnum) noexcept
+std::system_error errno_error(int errnum)
{
return std::system_error(errnum, errno_category());
}
inline
-std::system_error errno_error(int errno, const char* what)
+std::system_error errno_error(int errnum, const char* what)
{
return std::system_error(errnum, errno_category(), what);
}
}
}
+
+#endif