summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2012-12-07 15:32:12 +0100
committerJonas Suhr Christensen <jsc@umbraculum.org>2012-12-07 15:32:12 +0100
commit05ac57f641237f0cdb8554b58f78dab5effe6dd9 (patch)
tree0b84463f9e523a3c027aafc1fc0b21519278e992
parent7c67d78c39bbcb094ee2c410b5be1c6acd4c50d0 (diff)
parent8579b58b98aecb835263aeafadff09f91c482364 (diff)
Merge branch 'master' of https://git.oftal.dk/debug
-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
{