diff options
Diffstat (limited to 'doc/examples/SoundRecorder/include/debug.h')
-rw-r--r-- | doc/examples/SoundRecorder/include/debug.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/examples/SoundRecorder/include/debug.h b/doc/examples/SoundRecorder/include/debug.h new file mode 100644 index 00000000..4863d578 --- /dev/null +++ b/doc/examples/SoundRecorder/include/debug.h | |||
@@ -0,0 +1,24 @@ | |||
1 | /* by Luis Figueiredo (stdio@netc.pt) | ||
2 | * | ||
3 | * | ||
4 | * date: Sat Mar 30 14:16:05 GMT 2002 | ||
5 | * | ||
6 | * DEBUG macros | ||
7 | * | ||
8 | */ | ||
9 | |||
10 | #ifndef _DEBUG_H_ | ||
11 | #define _DEBUG_H_ | ||
12 | |||
13 | #ifdef HAVE_CONFIG_H | ||
14 | #include "config.h" | ||
15 | #endif | ||
16 | |||
17 | #ifdef DEBUG | ||
18 | #define IFDEBUG(x) x | ||
19 | #else | ||
20 | #define IFDEBUG(x) | ||
21 | #endif | ||
22 | |||
23 | |||
24 | #endif | ||