revert commit 56204.
[AROS.git] / rom / usb / classes / arosx / debug.h
blob342bafe4fdd1efadb5d63dfecad51af2acd6b6fd
1 #ifndef __DEBUG_H__
2 #define __DEBUG_H__
4 #define DEBUG 1
5 #include <aros/debug.h>
7 #define MYBUG_LEVEL 1
8 #define mybug(l, x) D(if ((l>=MYBUG_LEVEL)||(l==-1)) { do { { bug x; } } while (0); } )
9 #define mybug_unit(l, x) D(if ((l>=MYBUG_LEVEL)||(l==-1)) { do { { bug("%s %s: ", unit->name, __FUNCTION__); bug x; } } while (0); } )
11 #endif /* __DEBUG_H__ */