1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-29 21:56:54 +02:00

Fix Windows single-app build

This commit is contained in:
Ivan Savenko 2022-12-06 01:53:19 +02:00
parent 2a492261e1
commit 09ac2421b9

@ -19,6 +19,8 @@ boost::mutex CConsoleHandler::smx;
DLL_LINKAGE CConsoleHandler * console = nullptr;
VCMI_LIB_NAMESPACE_END
#ifndef VCMI_WINDOWS
typedef std::string TColor;
#define CONSOLE_GREEN "\x1b[1;32m"
@ -51,6 +53,8 @@ DLL_LINKAGE CConsoleHandler * console = nullptr;
static TColor defColor;
VCMI_LIB_NAMESPACE_BEGIN
#ifdef VCMI_WINDOWS
void printWinError()