libwreport 3.40
trace.h
1#ifndef WREPORT_BUFR_TRACE_H
2#define WREPORT_BUFR_TRACE_H
3
4// #define TRACE_DECODER
5
6#ifdef TRACE_DECODER
7#define TRACE(...) fprintf(stderr, __VA_ARGS__)
8#define IFTRACE if (1)
9#else
10#define TRACE(...) \
11 do \
12 { \
13 } while (0)
14#define IFTRACE if (0)
15#endif
16
17#endif