aboutsummaryrefslogtreecommitdiff
path: root/src/common/logging.cpp
diff options
context:
space:
mode:
authorlizzie <lizzie@eden-emu.dev>2026-06-04 05:49:07 +0200
committercrueter <crueter@eden-emu.dev>2026-06-04 05:49:07 +0200
commit89199f4d279bff0c664fb9142b1945d0c6d93ee8 (patch)
treef7223e46b4d1ecf0355adc5fc9363bae093dcf89 /src/common/logging.cpp
parent978d9d935d50fd09af5c6173582b1d63792900bd (diff)
[*] 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 <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4039 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: crueter <crueter@eden-emu.dev>
Diffstat (limited to 'src/common/logging.cpp')
-rw-r--r--src/common/logging.cpp6
1 files changed, 3 insertions, 3 deletions
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<Backend&>(debugger_backend));
#endif
-#ifdef ANDROID
+#ifdef __ANDROID__
lambda(static_cast<Backend&>(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()};