diff options
author | Andrew Kaster <akaster@serenityos.org> | 2022-10-09 15:23:23 -0600 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-10-10 12:23:12 +0200 |
commit | 828441852f803a67c771910702baefe12cf2d995 (patch) | |
tree | f76838c0f99d57648b493f4cd00167a467ac4cbd /Userland/Shell | |
parent | 896d4e8dc1a91f577231afef9d127b51d7cc3630 (diff) | |
download | serenity-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/Shell')
-rw-r--r-- | Userland/Shell/AST.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Shell/AST.cpp b/Userland/Shell/AST.cpp index d26d17b72a..ba79b546f9 100644 --- a/Userland/Shell/AST.cpp +++ b/Userland/Shell/AST.cpp @@ -625,7 +625,7 @@ void BarewordLiteral::highlight_in_editor(Line::Editor& editor, Shell& shell, Hi Line::Style bold = { Line::Style::Bold }; Line::Style style = bold; -#ifdef __serenity__ +#ifdef AK_OS_SERENITY if (runnable->kind == Shell::RunnablePath::Kind::Executable || runnable->kind == Shell::RunnablePath::Kind::Alias) { auto name = shell.help_path_for({}, *runnable); if (name.has_value()) { |