summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/debug.h
Unidiff
Diffstat (limited to 'noncore/unsupported/oipkg/debug.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/unsupported/oipkg/debug.h b/noncore/unsupported/oipkg/debug.h
index c53e36c..e73b9b2 100644
--- a/noncore/unsupported/oipkg/debug.h
+++ b/noncore/unsupported/oipkg/debug.h
@@ -1,20 +1,21 @@
1#ifndef _DEBUG_H_ 1#ifndef _DEBUG_H_
2#define _DEBUG_H_ 2#define _DEBUG_H_
3 3
4#include <stdio.h> 4#include <stdio.h>
5 5
6extern int debugLevel; 6extern int debugLevel;
7 7
8#define HACK 8#define HACK
9 9
10#define NEWLAYOUT
10 11
11#define pvDebug(I, S) \ 12#define pvDebug(I, S) \
12if ( debugLevel < 3 ) \ 13if ( debugLevel < 3 ) \
13{ \ 14{ \
14 if ( I <= debugLevel ) qDebug(S);\ 15 if ( I <= debugLevel ) qDebug(S);\
15}else{\ 16}else{\
16 if ( I <= debugLevel ) \ 17 if ( I <= debugLevel ) \
17 printf("# %s \t\t(Level: %i)\n",QString(S).latin1(),I);\ 18 printf("# %s \t\t(Level: %i)\n",QString(S).latin1(),I);\
18} 19}
19 20
20#endif \ No newline at end of file 21#endif \ No newline at end of file