From 14e3000983cf98d12dab9560f7ee0e3cbcc5ddfb Mon Sep 17 00:00:00 2001 From: dshaligram Date: Wed, 20 Jun 2007 19:57:53 +0000 Subject: Fixed broken compile on DOS and Windows. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1611 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/AppHdr.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/AppHdr.h') 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 + #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 '/' -- cgit v1.2.3-54-g00ecf