mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fix Windows single-app build
This commit is contained in:
@@ -19,6 +19,8 @@ boost::mutex CConsoleHandler::smx;
|
|||||||
|
|
||||||
DLL_LINKAGE CConsoleHandler * console = nullptr;
|
DLL_LINKAGE CConsoleHandler * console = nullptr;
|
||||||
|
|
||||||
|
VCMI_LIB_NAMESPACE_END
|
||||||
|
|
||||||
#ifndef VCMI_WINDOWS
|
#ifndef VCMI_WINDOWS
|
||||||
typedef std::string TColor;
|
typedef std::string TColor;
|
||||||
#define CONSOLE_GREEN "\x1b[1;32m"
|
#define CONSOLE_GREEN "\x1b[1;32m"
|
||||||
@@ -51,6 +53,8 @@ DLL_LINKAGE CConsoleHandler * console = nullptr;
|
|||||||
|
|
||||||
static TColor defColor;
|
static TColor defColor;
|
||||||
|
|
||||||
|
VCMI_LIB_NAMESPACE_BEGIN
|
||||||
|
|
||||||
#ifdef VCMI_WINDOWS
|
#ifdef VCMI_WINDOWS
|
||||||
|
|
||||||
void printWinError()
|
void printWinError()
|
||||||
|
|||||||
Reference in New Issue
Block a user