summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/xxx2wav.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib/xxx2wav.h')
-rw-r--r--apps/plugins/lib/xxx2wav.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/lib/xxx2wav.h b/apps/plugins/lib/xxx2wav.h
index e89361c46a..501aaa3933 100644
--- a/apps/plugins/lib/xxx2wav.h
+++ b/apps/plugins/lib/xxx2wav.h
@@ -19,6 +19,15 @@
19 19
20/* Various "helper functions" common to all the xxx2wav decoder plugins */ 20/* Various "helper functions" common to all the xxx2wav decoder plugins */
21 21
22
23/* A macro to enable printf for the simulator only */
24
25#ifdef SIMULATOR
26#define dprintf(...) printf(__VA_ARGS__)
27#else
28#define dprintf(...)
29#endif
30
22/* the main data structure of the program */ 31/* the main data structure of the program */
23typedef struct { 32typedef struct {
24 int infile; 33 int infile;