Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / workbench / utilities / MultiView / debug.h
blob0493dab112f1a3c62dd5f9388da0121c302ab0de
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 1
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 */