diff options
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h index 48a4cfe..4580f43 100644 --- a/src/config.h +++ b/src/config.h @@ -42,3 +42,10 @@ #define HAVE_AV_REGISTER_ALL #endif +#ifndef NDEBUG +#define HAVE_DEBUGLOG +#define debug(...) fprintf(stderr, __VA_ARGS__) +#else +#define debug(...) +#endif + |