summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/AppHdr.h
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-24 09:51:21 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-24 20:56:30 -0700
commit92822bfc9847066fa84d240f3c3cb7902467661b (patch)
treeb8cec49e3df3c04100349ac0d9296d25832a3e52 /crawl-ref/source/AppHdr.h
parent6d62ab1b7cf0fbf6dda50f86f27822a9551da8ae (diff)
downloadcrawl-ref-92822bfc9847066fa84d240f3c3cb7902467661b.tar.gz
crawl-ref-92822bfc9847066fa84d240f3c3cb7902467661b.zip
MSVC: fix build (add missing source files to project)
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/AppHdr.h')
-rw-r--r--crawl-ref/source/AppHdr.h2
1 files changed, 2 insertions, 0 deletions
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