Mercurial > audlegacy-plugins
comparison src/evdev-plug/ed_common.h @ 423:dea1d9cb7735 trunk
[svn] - turn debug off for evdev-plug
| author | giacomo |
|---|---|
| date | Sun, 14 Jan 2007 17:57:10 -0800 |
| parents | 5e46b57d1eda |
| children | c18fd1befd1f |
comparison
equal
deleted
inserted
replaced
| 422:5e46b57d1eda | 423:dea1d9cb7735 |
|---|---|
| 19 */ | 19 */ |
| 20 | 20 |
| 21 #ifndef _I_ED_COMMON_H | 21 #ifndef _I_ED_COMMON_H |
| 22 #define _I_ED_COMMON_H 1 | 22 #define _I_ED_COMMON_H 1 |
| 23 | 23 |
| 24 #define DEBUG 1 | |
| 25 | |
| 26 #ifdef DEBUG | 24 #ifdef DEBUG |
| 27 #include <stdio.h> | 25 #include <stdio.h> |
| 28 #define DEBUGMSG(...) { fprintf(stderr, "evdev-plug(%s:%s:%d): ", __FILE__, __FUNCTION__, (int) __LINE__); fprintf(stderr, __VA_ARGS__); } | 26 #define DEBUGMSG(...) { fprintf(stderr, "evdev-plug(%s:%s:%d): ", __FILE__, __FUNCTION__, (int) __LINE__); fprintf(stderr, __VA_ARGS__); } |
| 29 #else | 27 #else |
| 30 #define DEBUGMSG(...) | 28 #define DEBUGMSG(...) |
