diff options
Diffstat (limited to 'lib/libmalloc/assert.h')
-rw-r--r-- | lib/libmalloc/assert.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libmalloc/assert.h b/lib/libmalloc/assert.h new file mode 100644 index 000000000000..08f11ff87994 --- /dev/null +++ b/lib/libmalloc/assert.h @@ -0,0 +1,10 @@ +/* $Id: assert.h,v 1.1 1994/05/19 14:34:09 nate Exp $ */ +#ifndef __ASSERT_H__ +#define __ASSERT_H__ +#ifdef DEBUG +#define ASSERT(p, s) ((void) (!(p) ? __m_botch(s, __FILE__, __LINE__) : 0)) +extern int __m_botch proto((const char *, const char *, int)); +#else +#define ASSERT(p, s) +#endif +#endif /* __ASSERT_H__ */ /* Do not add anything after this line */ |