mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 22:52:22 +02: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:
committed by
Linus Groh
parent
896d4e8dc1
commit
828441852f
Notes:
sideshowbarker
2024-07-17 06:06:27 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/828441852f Pull-request: https://github.com/SerenityOS/serenity/pull/15527
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user