summaryrefslogtreecommitdiffstats
path: root/debug.h
blob: 0614747ba8665e79c51b5ed97b3719591222c618 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef __DEBUG_H__
#define __DEBUG_H__ 1

//#define printf_debug(x...) printf(x)

extern int verbose;

#define printf_debug(x...) { if(verbose) printf(x); }

#endif
OpenPOWER on IntegriCloud