30
|
1 #ifdef DEBUG
|
|
2 # include <stdio.h>
|
|
3 # define __debug(...) do { \
|
50
|
4 fprintf(stderr, __VA_ARGS__); \
|
30
|
5 } while (0)
|
|
6 #else /* DEBUG */
|
|
7 # define __debug(...)
|
|
8 #endif
|
42
|
9
|
|
10 #ifdef _PPE_DEBUG
|
|
11 # include <stdio.h>
|
|
12 # define __debug_ppe(...) do { \
|
109
|
13 printf("[PPE] "); printf(__VA_ARGS__); \
|
42
|
14 } while (0)
|
|
15 #else /* DEBUG */
|
43
|
16 # define __debug_ppe(...)
|
42
|
17 #endif
|
|
18
|
109
|
19 #ifdef _PPE_DEBUG
|
|
20 # include <stdio.h>
|
|
21 # define __debug_spe(...) do { \
|
|
22 printf("[SPE] "); printf(__VA_ARGS__); \
|
|
23 } while (0)
|
|
24 #else /* DEBUG */
|
|
25 # define __debug_ppe(...)
|
|
26 #endif
|
|
27
|