Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 1 | #ifndef __DEBUG_H__ |
2 | #define __DEBUG_H__ 1 | ||||
3 | |||||
4 | //#define printf_debug(x...) printf(x) | ||||
Stefan Reinauer | e370528 | 2005-12-18 16:41:10 +0000 | [diff] [blame^] | 5 | |
6 | extern int verbose; | ||||
7 | |||||
8 | #define printf_debug(x...) { if(verbose) printf(x); } | ||||
Ollie Lho | 184a404 | 2005-11-26 21:55:36 +0000 | [diff] [blame] | 9 | |
10 | #endif |