summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-10 09:42:20 +0200
committermadmaxoft <github@xoft.cz>2013-08-10 09:42:20 +0200
commit2a97bed3b4831d1fe1000d1c75c068a942020b14 (patch)
tree6c39fd22721383edb8c812b1efaa1aee8b7c089f
parentFirst attempt at Linux console colors (diff)
downloadcuberite-2a97bed3b4831d1fe1000d1c75c068a942020b14.tar
cuberite-2a97bed3b4831d1fe1000d1c75c068a942020b14.tar.gz
cuberite-2a97bed3b4831d1fe1000d1c75c068a942020b14.tar.bz2
cuberite-2a97bed3b4831d1fe1000d1c75c068a942020b14.tar.lz
cuberite-2a97bed3b4831d1fe1000d1c75c068a942020b14.tar.xz
cuberite-2a97bed3b4831d1fe1000d1c75c068a942020b14.tar.zst
cuberite-2a97bed3b4831d1fe1000d1c75c068a942020b14.zip
Diffstat (limited to '')
-rw-r--r--source/MCLogger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/MCLogger.cpp b/source/MCLogger.cpp
index dd15051c2..e6fc86775 100644
--- a/source/MCLogger.cpp
+++ b/source/MCLogger.cpp
@@ -144,7 +144,7 @@ void cMCLogger::SetColor(eColorScheme a_Scheme)
default: ASSERT(!"Unhandled color scheme");
}
SetConsoleTextAttribute(g_Console, Attrib);
- #elif defined(LINUX) && !defined(ANDROID_NDK)
+ #elif defined(__linux) && !defined(ANDROID_NDK)
switch (a_Scheme)
{
case csGrayOnBlack: puts("\x1b[0m"); break;