revert between 56095 -> 55830 in arch
[AROS.git] / workbench / classes / datatypes / picture / debug.h
blobd09d1618759404a6006b818d414f6e1351fcc56d
1 /*
2 Copyright © 1995-2001, 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 #include <aros/debug.h>
15 #else /* not __AROS__ */
17 #define bug kprintf
19 #ifdef MYDEBUG
20 void kprintf(char *string, ...);
21 #define D(x) {kprintf("%s/%ld (%s): ", __FILE__, __LINE__, FindTask(NULL)->tc_Node.ln_Name);(x);};
22 #else
23 #define D(x) ;
25 #endif /* MYDEBUG */
27 #endif /* not __AROS__ */
29 #endif /* __DEBUG_H */