summaryrefslogtreecommitdiff
path: root/i386
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 /i386
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 'i386')
-rw-r--r--i386/i386/loose_ends.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/i386/i386/loose_ends.c b/i386/i386/loose_ends.c
index a5671af..43d3513 100644
--- a/i386/i386/loose_ends.c
+++ b/i386/i386/loose_ends.c
@@ -25,8 +25,12 @@
*/
/*
*/
-#include <mach_assert.h>
+#ifndef NDEBUG
+#define MACH_ASSERT 1
+#else
+#define MACH_ASSERT 0
+#endif
/*
* For now we will always go to single user mode, since there is