summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/debug.h
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-13 03:19:13 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-13 06:23:13 -0700
commitfed87eedaab2e58d4dbd89d10765e26e882c416b (patch)
tree845a47218613de96cc3d470583aaa656e93759aa /crawl-ref/source/debug.h
parent475091c67389ed61cf7589c9b7037fbd8c916b70 (diff)
downloadcrawl-ref-fed87eedaab2e58d4dbd89d10765e26e882c416b.tar.gz
crawl-ref-fed87eedaab2e58d4dbd89d10765e26e882c416b.zip
debug.h: add #ifdef for __MSL__ macro
I still don't know what this macro is, but '#if __MSL__' doesn't make any sense without it defined, so we can ifdef it out. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/debug.h')
-rw-r--r--crawl-ref/source/debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/debug.h b/crawl-ref/source/debug.h
index a147731d74..9865993279 100644
--- a/crawl-ref/source/debug.h
+++ b/crawl-ref/source/debug.h
@@ -20,9 +20,11 @@
#endif
// Synch with MSL definitions.
+#ifdef __MSL__
#if __MSL__ && DEBUG != defined(MSIPL_DEBUG_MODE)
#error DEBUG and MSIPL_DEBUG_MODE are out of sync!
#endif
+#endif
// Synch with MSVC.
#ifdef TARGET_COMPILER_VC