summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibMain
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2022-10-09 15:23:23 -0600
committerLinus Groh <mail@linusgroh.de>2022-10-10 12:23:12 +0200
commit828441852f803a67c771910702baefe12cf2d995 (patch)
treef76838c0f99d57648b493f4cd00167a467ac4cbd /Userland/Libraries/LibMain
parent896d4e8dc1a91f577231afef9d127b51d7cc3630 (diff)
downloadserenity-828441852f803a67c771910702baefe12cf2d995.zip
Everywhere: Replace uses of __serenity__ with AK_OS_SERENITY
Now that we have OS macros for essentially every supported OS, let's try to use them everywhere.
Diffstat (limited to 'Userland/Libraries/LibMain')
-rw-r--r--Userland/Libraries/LibMain/Main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibMain/Main.cpp b/Userland/Libraries/LibMain/Main.cpp
index 69f6e30fa8..6b0604c02e 100644
--- a/Userland/Libraries/LibMain/Main.cpp
+++ b/Userland/Libraries/LibMain/Main.cpp
@@ -44,7 +44,7 @@ int main(int argc, char** argv)
if (result.is_error()) {
auto error = result.release_error();
warnln("\033[31;1mRuntime error\033[0m: {}", error);
-#ifdef __serenity__
+#ifdef AK_OS_SERENITY
dbgln("\033[31;1mExiting with runtime error\033[0m: {}", error);
#endif
return Main::return_code_for_errors();