summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libdos.cc
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-10 04:36:42 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-10 22:18:48 -0700
commit66c59ae9c97694a8ab33eddd266dd6f73d72fde7 (patch)
treebd27426778e720fa895635b26b6a0909300d21af /crawl-ref/source/libdos.cc
parent6eb4f8d4954d7ba008de2eb921d42e02993b9db5 (diff)
downloadcrawl-ref-66c59ae9c97694a8ab33eddd266dd6f73d72fde7.tar.gz
crawl-ref-66c59ae9c97694a8ab33eddd266dd6f73d72fde7.zip
project-wide: implement use of platform.h detection macros
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/libdos.cc')
-rw-r--r--crawl-ref/source/libdos.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/libdos.cc b/crawl-ref/source/libdos.cc
index 00b804f5b5..b14137241a 100644
--- a/crawl-ref/source/libdos.cc
+++ b/crawl-ref/source/libdos.cc
@@ -15,7 +15,7 @@ REVISION("$Rev$");
#include <termios.h>
#include <conio.h>
-#if defined(DOS)
+#if defined(TARGET_OS_DOS)
static bool cursor_is_enabled = true;
@@ -138,4 +138,4 @@ void putwch(unsigned c)
putch(static_cast<char>(c));
}
-#endif /* #if defined(DOS) */
+#endif /* #if defined(TARGET_OS_DOS) */