1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

Fix android builds

[ci skip]
This commit is contained in:
Michał Janiszewski
2017-10-10 14:53:33 +02:00
committed by GitHub
parent 16bd2c6439
commit 89fb6b2144

View File

@@ -26,14 +26,6 @@
static bool _log_location_enabled = true;
bool _log_levels[DIAGNOSTIC_LEVEL_COUNT] = { true, true, true, false, true };
static const char * _level_strings[] = {
"FATAL",
"ERROR",
"WARNING",
"VERBOSE",
"INFO"
};
static FILE * diagnostic_get_stream(DiagnosticLevel level)
{
switch (level) {
@@ -79,6 +71,14 @@ void diagnostic_log_with_location(DiagnosticLevel diagnosticLevel, const char *f
#else
static const char * _level_strings[] = {
"FATAL",
"ERROR",
"WARNING",
"VERBOSE",
"INFO"
};
void diagnostic_log(DiagnosticLevel diagnosticLevel, const char *format, ...)
{
va_list args;