summaryrefslogtreecommitdiff
path: root/ddb/tr.h
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-10-09 10:57:00 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:44 +0200
commitc4d60cdf58b19d9ec8ea2254b92c654f217cf830 (patch)
tree6b5f850880cb50e5fbd287cb5073382495db84df /ddb/tr.h
parent13f35c51e1cbc6ea2f9ca4adaa749d4d75e3b0b6 (diff)
2006-10-09 Thomas Schwinge <tschwinge@gnu.org>
* ddb/tr.h: Insert the content of `bogus/mach_assert.h' instead of including it. * i386/i386/loose_ends.c: Likewise. * bogus/mach_assert.h: Remove file.
Diffstat (limited to 'ddb/tr.h')
-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>
/*