From 89199f4d279bff0c664fb9142b1945d0c6d93ee8 Mon Sep 17 00:00:00 2001 From: lizzie Date: Thu, 4 Jun 2026 05:49:07 +0200 Subject: [*] basic in-house cpp linting (#4039) - add `#pragma once` to remainder files - "correcter" defines (ANDROID), see https://groups.google.com/g/android-ndk/c/cf9_f1SLXls - extra miscelly fixups Signed-off-by: lizzie Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4039 Reviewed-by: MaranBr Reviewed-by: crueter --- src/common/logging.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/common/logging.cpp') diff --git a/src/common/logging.cpp b/src/common/logging.cpp index 68e033b129..ccf509f451 100644 --- a/src/common/logging.cpp +++ b/src/common/logging.cpp @@ -320,7 +320,7 @@ struct DebuggerBackend final : public Backend { void Flush() noexcept override {} }; #endif -#ifdef ANDROID +#ifdef __ANDROID__ /// @brief Backend that writes to the Android logcat struct LogcatBackend : public Backend { explicit LogcatBackend() noexcept = default; @@ -359,7 +359,7 @@ struct Impl { #ifdef _WIN32 lambda(static_cast(debugger_backend)); #endif -#ifdef ANDROID +#ifdef __ANDROID__ lambda(static_cast(lc_backend)); #endif } @@ -372,7 +372,7 @@ struct Impl { #ifdef _WIN32 DebuggerBackend debugger_backend{}; #endif -#ifdef ANDROID +#ifdef __ANDROID__ LogcatBackend lc_backend{}; #endif std::chrono::steady_clock::time_point time_origin{std::chrono::steady_clock::now()}; -- cgit v1.2.3