diff options
author | Steven Noonan <steven@uplinklabs.net> | 2009-10-10 04:36:42 -0700 |
---|---|---|
committer | Steven Noonan <steven@uplinklabs.net> | 2009-10-10 22:18:48 -0700 |
commit | 66c59ae9c97694a8ab33eddd266dd6f73d72fde7 (patch) | |
tree | bd27426778e720fa895635b26b6a0909300d21af /crawl-ref/source/cio.cc | |
parent | 6eb4f8d4954d7ba008de2eb921d42e02993b9db5 (diff) | |
download | crawl-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/cio.cc')
-rw-r--r-- | crawl-ref/source/cio.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |