From 66c59ae9c97694a8ab33eddd266dd6f73d72fde7 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Sat, 10 Oct 2009 04:36:42 -0700 Subject: project-wide: implement use of platform.h detection macros Signed-off-by: Steven Noonan --- crawl-ref/source/cio.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/cio.cc') diff --git a/crawl-ref/source/cio.cc b/crawl-ref/source/cio.cc index da4367103b..7299d405a7 100644 --- a/crawl-ref/source/cio.cc +++ b/crawl-ref/source/cio.cc @@ -156,7 +156,7 @@ void get_input_line( char *const buff, int len ) #else // [dshaligram] Turn on the cursor for DOS. -#ifdef DOS +#ifdef TARGET_OS_DOS _setcursortype(_NORMALCURSOR); #endif @@ -186,7 +186,7 @@ void get_input_line( char *const buff, int len ) // we want to use in cancelable_get_line() and menus. int c_getch() { -#if defined(DOS) || defined(UNIX) || defined(WIN32CONSOLE) +#if defined(TARGET_OS_DOS) || defined(UNIX) || defined(WIN32CONSOLE) return getch_ck(); #else return m_getch(); -- cgit v1.2.3-54-g00ecf