summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/AppHdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/AppHdr.h')
-rw-r--r--crawl-ref/source/AppHdr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h
index fa6ad69293..a42d8141a9 100644
--- a/crawl-ref/source/AppHdr.h
+++ b/crawl-ref/source/AppHdr.h
@@ -180,11 +180,13 @@
#define vsnprintf(buf, size, format, args) vsprintf(buf, format, args)
#endif
+ #include <dos.h>
+
#elif defined(WIN32CONSOLE)
#include "libw32c.h"
#define EOL "\n"
#define CHARACTER_SET A_ALTCHARSET
- #define getstr(X,Y) getConsoleString(X,Y)
+ #define getstr(X,Y) get_console_string(X,Y)
// NT and better are happy with /; I'm not sure how 9x reacts.
#define FILE_SEPARATOR '/'