From 8579b58b98aecb835263aeafadff09f91c482364 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 7 Dec 2012 15:10:07 +0100 Subject: Add compiltetime enable-check. --- debug_filter.c | 4 ++++ 1 file changed, 4 insertions(+) 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 #include +#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 { -- cgit v1.2.3