Mercurial > dropbear
diff dbutil.h @ 316:dc6173e09ff7 ucc-axis-hack
smaller yet again
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 28 Mar 2006 16:04:11 +0000 |
parents | 044bc108b9b3 |
children |
line wrap: on
line diff
--- a/dbutil.h Mon Mar 27 08:36:44 2006 +0000 +++ b/dbutil.h Tue Mar 28 16:04:11 2006 +0000 @@ -68,6 +68,10 @@ #define DEF_MP_INT(X) mp_int X = {0, 0, 0, NULL} /* Dropbear assertion */ +#ifndef NDEBUG #define dropbear_assert(X) do { if (!(X)) { fail_assert(#X, __FILE__, __LINE__); } } while (0) +#else +#define dropbear_assert(X) +#endif #endif /* _DBUTIL_H_ */