summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libutil.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/libutil.cc')
-rw-r--r--crawl-ref/source/libutil.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/libutil.cc b/crawl-ref/source/libutil.cc
index d4bacf44c2..62d0c86754 100644
--- a/crawl-ref/source/libutil.cc
+++ b/crawl-ref/source/libutil.cc
@@ -150,7 +150,7 @@ static int getch_ck() {
// Hacky wrapper around getch() that returns CK_ codes for keys
// we want to use in cancelable_get_line() and menus.
int c_getch() {
-#if defined(DOS) || defined(LINUX) || defined(WIN32CONSOLE)
+#if defined(DOS) || defined(UNIX) || defined(WIN32CONSOLE)
return getch_ck();
#else
return getch();