mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
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.
This commit is contained in:
parent
896d4e8dc1
commit
828441852f
46 changed files with 118 additions and 113 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue