summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/debug.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-03-30 13:22:47 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-03-30 13:22:47 +0200
commitb5a7564a4345cb6044c7164e69d3cc56ee3a8ed3 (patch)
tree7ff51375b1438f80ff8cb8fc381bdff62a786046 /crawl-ref/source/debug.h
parent0b96abeddb4783ba01ddab45701aa760c187870c (diff)
downloadcrawl-ref-b5a7564a4345cb6044c7164e69d3cc56ee3a8ed3.tar.gz
crawl-ref-b5a7564a4345cb6044c7164e69d3cc56ee3a8ed3.zip
Don't redefine ASSERTS if it's already defined.
Diffstat (limited to 'crawl-ref/source/debug.h')
-rw-r--r--crawl-ref/source/debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/debug.h b/crawl-ref/source/debug.h
index f8750b2ede..00df5541b9 100644
--- a/crawl-ref/source/debug.h
+++ b/crawl-ref/source/debug.h
@@ -37,7 +37,7 @@
#define COMPILE_CHECK(expr, tag)
#endif
-#ifdef DEBUG
+#if defined(DEBUG) && !defined(ASSERTS)
#define ASSERTS
#endif