diff options
author | Steven Noonan <steven@uplinklabs.net> | 2009-10-24 09:51:21 -0700 |
---|---|---|
committer | Steven Noonan <steven@uplinklabs.net> | 2009-10-24 20:56:30 -0700 |
commit | 92822bfc9847066fa84d240f3c3cb7902467661b (patch) | |
tree | b8cec49e3df3c04100349ac0d9296d25832a3e52 /crawl-ref/source/AppHdr.h | |
parent | 6d62ab1b7cf0fbf6dda50f86f27822a9551da8ae (diff) | |
download | crawl-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.h | 2 |
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 |