From 92822bfc9847066fa84d240f3c3cb7902467661b Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Sat, 24 Oct 2009 09:51:21 -0700 Subject: MSVC: fix build (add missing source files to project) Signed-off-by: Steven Noonan --- crawl-ref/source/AppHdr.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/AppHdr.h') diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h index 80357f1d85..5f2cf6fa0c 100644 --- a/crawl-ref/source/AppHdr.h +++ b/crawl-ref/source/AppHdr.h @@ -24,6 +24,8 @@ #ifdef TARGET_COMPILER_VC /* Disable warning about the way VC handles the throw() specifier */ #pragma warning (disable: 4290) +/* Don't define min and max as macros, define them via STL */ +#define NOMINMAX #endif // The maximum memory that the user-script Lua interpreter can -- cgit v1.2.3-54-g00ecf