From 89fb6b21447df60f4c7c011d2d02267e2e0780d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Tue, 10 Oct 2017 14:53:33 +0200 Subject: [PATCH] Fix android builds [ci skip] --- src/openrct2/diagnostic.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/openrct2/diagnostic.c b/src/openrct2/diagnostic.c index 77538537ca..96e3176a22 100644 --- a/src/openrct2/diagnostic.c +++ b/src/openrct2/diagnostic.c @@ -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;