summaryrefslogtreecommitdiff
path: root/debug_filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug_filter.c')
-rw-r--r--debug_filter.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/debug_filter.c b/debug_filter.c
index f93b4c9..4caf4be 100644
--- a/debug_filter.c
+++ b/debug_filter.c
@@ -30,6 +30,10 @@
#include <string.h>
#include <stdlib.h>
+#ifndef WITH_DBG_FILTER
+#error debug_filter.c compiled but WITH_DBG_FILTER not defined
+#endif
+
#define NELEM(x) (sizeof(x)/sizeof((x)[0]))
struct __debug_channel
{