diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-12-07 15:10:07 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-12-07 15:10:07 +0100 |
commit | 8579b58b98aecb835263aeafadff09f91c482364 (patch) | |
tree | c47755941188589a10447a7d22c8f6990355702d | |
parent | 26b8b48b4952249a13855a21946955a10c77837f (diff) |
Add compiltetime enable-check.
-rw-r--r-- | debug_filter.c | 4 |
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 { |