revert between 56095 -> 55830 in arch
[AROS.git] / workbench / utilities / MultiView / debug.h
blob594e409f3b743434b793428e93308628c438504d
1 /*
2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef __DEBUG_H
7 #define __DEBUG_H
9 /* Debug Macros */
11 #ifdef __AROS__
13 #undef DEBUG
14 #define DEBUG 0
15 #include <aros/debug.h>
17 #else /* __AROS__ */
19 #define bug kprintf
21 #ifdef MYDEBUG
22 void kprintf(char *string, ...);
23 #define D(x) {kprintf("%s/%ld (%s): ", __FILE__, __LINE__, FindTask(NULL)->tc_Node.ln_Name);(x);}
24 #else
25 #define D(x) ;
27 #endif /* MYDEBUG */
29 #endif /*__AROS__ */
31 #endif /* __DEBUG_H */