2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 13:44:56 +00:00

MacOS build fixes

This commit is contained in:
Jack Andersen
2019-08-31 10:40:07 -10:00
parent 0ab08daae7
commit cffb56a24e
5 changed files with 23 additions and 24 deletions

View File

@@ -104,13 +104,9 @@ static void UpdatePercent(float percent)
@end
static logvisor::Module AthenaLog("Athena");
static void AthenaExc(athena::error::Level level, const char* file,
const char*, int line, const char* fmt, ...)
{
va_list ap;
va_start(ap, fmt);
AthenaLog.report(logvisor::Level(level), fmt, ap);
va_end(ap);
static void AthenaExc(athena::error::Level level, const char* /*file*/, const char*, int /*line*/,
fmt::string_view fmt, fmt::format_args args) {
AthenaLog.vreport(logvisor::Level(level), fmt, args);
}
int main(int argc, const char** argv)