summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-06-07 17:17:52 -0700
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-06-07 17:17:52 -0700
commit519d57deadc46bd5b48b37cd1a28882425d8e204 (patch)
tree7ad9238673d675f0fd3a2b3c52f0dba97735a305 /includes
parent5044feb835653ba98ee48cf243fe5d3ab184fa3c (diff)
Fixing DEBUG vs _DEBUG #defines.
Diffstat (limited to 'includes')
-rw-r--r--includes/Exceptions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Exceptions.h b/includes/Exceptions.h
index 2b20e1e..f68239f 100644
--- a/includes/Exceptions.h
+++ b/includes/Exceptions.h
@@ -98,7 +98,7 @@ static inline void * realloc(void * previous, size_t size) {
};
static inline void AssertHelperInner(const String & msg, const char * details = NULL) throw (GeneralException) {
-#if defined(_MSC_VER) && defined(DEBUG)
+#if defined(_MSC_VER) && defined(_DEBUG)
__debugbreak();
#endif
throw GeneralException(msg, details);