summaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
Diffstat (limited to 'ddb')
-rw-r--r--ddb/tr.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ddb/tr.h b/ddb/tr.h
index 1d6145a..2d058ca 100644
--- a/ddb/tr.h
+++ b/ddb/tr.h
@@ -15,7 +15,12 @@
* less formatting.
*/
-#include <mach_assert.h>
+#ifndef NDEBUG
+#define MACH_ASSERT 1
+#else
+#define MACH_ASSERT 0
+#endif
+
#include <mach_tr.h>
/*