mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:54:58 +00:00
AK: Disable assertion output colors on windows
This commit is contained in:
parent
4b60a99573
commit
cafe60d713
1 changed files with 2 additions and 0 deletions
|
@ -91,6 +91,8 @@ void ak_verification_failed(char const* message)
|
||||||
{
|
{
|
||||||
# if defined(AK_OS_SERENITY) || defined(AK_OS_ANDROID)
|
# if defined(AK_OS_SERENITY) || defined(AK_OS_ANDROID)
|
||||||
bool colorize_output = true;
|
bool colorize_output = true;
|
||||||
|
# elif defined(AK_OS_WINDOWS)
|
||||||
|
bool colorize_output = false;
|
||||||
# else
|
# else
|
||||||
bool colorize_output = isatty(STDERR_FILENO) == 1;
|
bool colorize_output = isatty(STDERR_FILENO) == 1;
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue