From 64616d3997984c481bbda371c42e6b6398ff3a8a Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Fri, 22 Dec 2023 12:29:21 +0330 Subject: [PATCH] AK: Completely disable rich debug formats on Windows Half the functions used are not readily available on windows, instead of creating more ifdef soup, this commit simply disables the rich debug stuff on windows. --- AK/Format.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AK/Format.cpp b/AK/Format.cpp index 237c48621c..ef9ae6dc55 100644 --- a/AK/Format.cpp +++ b/AK/Format.cpp @@ -1209,7 +1209,7 @@ void vdbg(StringView fmtstr, TypeErasedFormatParams& params, bool newline) } else { builder.appendff("\033[34;1m[Kernel]\033[0m: "); } -#else +#elif !defined(AK_OS_WINDOWS) auto process_name = process_name_for_logging(); if (!process_name.is_empty()) { struct timespec ts = {};