From 8a737d409cea505589f5b67fab49f138265a8174 Mon Sep 17 00:00:00 2001 From: pauldubois Date: Mon, 10 Mar 2008 06:31:01 +0000 Subject: Another batch of msvc compile fixes. Added wrapper implementation for opendir/readdir Other functions left stubbed out. It's a shame that crawl's "direct.h" conflicts with . Fixed up use of AppHdr.h in a couple places (it must be included first); changed project to use precompiled headers. crawl now compiles cleanly but doesn't link. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3573 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/AppHdr.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/AppHdr.h') diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h index 899a818d53..adf517303f 100644 --- a/crawl-ref/source/AppHdr.h +++ b/crawl-ref/source/AppHdr.h @@ -383,7 +383,6 @@ //jmf: end of new defines // ====================== ----------------------------------------------------- - #ifdef MULTIUSER // If you are installing Crawl for multiple users, define SAVE_DIR // to the directory where saves, bones, and score file will go... @@ -439,7 +438,7 @@ #include #include -#endif +#endif /* MULTIUSER */ #if defined(DGL_SIMPLE_MESSAGING) && !defined(USE_FILE_LOCKING) # error Must define USE_FILE_LOCKING for DGL_SIMPLE_MESSAGING @@ -461,4 +460,7 @@ inline void UNUSED(const volatile T &) { } +// And now headers we want precompiled +#include + #endif -- cgit v1.2.3-54-g00ecf