added ASSERT macro

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7593 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper
2004-05-15 23:43:56 +00:00
parent f08af63703
commit 889fc773aa
@@ -23,8 +23,10 @@
#ifdef DEBUG
#define TRACE(a...) dprintf("rtl8169: " a)
#define ASSERT(a) if (a) ; else panic("rtl8169: ASSERT failed, " #a)
#else
#define TRACE(a...)
#define ASSERT(a...)
#endif
#define ERROR(a...) dprintf("rtl8169: ERROR " a)