1
0

Fixed Linux build.

This commit is contained in:
madmaxoft 2013-08-10 12:50:23 +02:00
parent 63b2fa21e8
commit 211a8395d4

View File

@ -2,7 +2,6 @@
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
#include <time.h>
#include <io.h>
#include "Log.h"
@ -13,6 +12,8 @@ cMCLogger * cMCLogger::s_MCLogger = NULL;
bool g_ShouldColorOutput = false;
#ifdef _WIN32
#include <io.h> // Needed for _isatty(), not available on Linux
HANDLE g_Console = GetStdHandle(STD_OUTPUT_HANDLE);
WORD g_DefaultConsoleAttrib = 0x07;
#elif defined (__linux) && !defined(ANDROID_NDK)