From 19db61e2e3f034ecdb8f5191172f076d6af26e19 Mon Sep 17 00:00:00 2001 From: Andy Zhang Date: Thu, 11 Jul 2024 22:25:33 +0800 Subject: [PATCH] Fix compile issues. --- include/util.hpp | 1 - src/format.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/util.hpp b/include/util.hpp index 6ed2eac19..981004a6b 100644 --- a/include/util.hpp +++ b/include/util.hpp @@ -149,7 +149,6 @@ namespace steppable::__internals::utils */ Utf8CodePage() : oldCodePage(GetConsoleOutputCP()) { - initLocale(); SetConsoleOutputCP(CP_UTF8); dwModeOrig = enableVtMode(); } diff --git a/src/format.cpp b/src/format.cpp index 30ea653cd..da11947be 100644 --- a/src/format.cpp +++ b/src/format.cpp @@ -22,6 +22,7 @@ #include "format.hpp" +#include #include #include