mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-08-16 08:50:26 +03:00
AK: Disable assertion output colors on windows
This commit is contained in:
parent
4b60a99573
commit
cafe60d713
Notes:
sideshowbarker
2024-07-17 08:35:21 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/cafe60d713 Pull-request: https://github.com/SerenityOS/serenity/pull/21667
@ -91,6 +91,8 @@ void ak_verification_failed(char const* message)
|
||||
{
|
||||
# if defined(AK_OS_SERENITY) || defined(AK_OS_ANDROID)
|
||||
bool colorize_output = true;
|
||||
# elif defined(AK_OS_WINDOWS)
|
||||
bool colorize_output = false;
|
||||
# else
|
||||
bool colorize_output = isatty(STDERR_FILENO) == 1;
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user