From c5d8be097554e5735748577e7967fae11b32d388 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 18 Jan 2016 17:52:56 +0100 Subject: Fix debug output filters (take 2). --- drumgizmo/drumgizmoc.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc index a0cbe4d..1ccc151 100644 --- a/drumgizmo/drumgizmoc.cc +++ b/drumgizmo/drumgizmoc.cc @@ -34,10 +34,6 @@ #include -#ifndef HUG_FLAG_DEFAULT -#define HUG_FLAG_DEFAULT 0 -#endif - #include "drumgizmo.h" #include "drumgizmoc.h" @@ -123,7 +119,10 @@ int CliMain::run(int argc, char *argv[]) int c; std::string hugin_filter; - unsigned int hugin_flags = HUG_FLAG_DEFAULT; + unsigned int hugin_flags = 0; +#ifndef DISABLE_HUGIN + hugin_flags = HUG_FLAG_DEFAULT; +#endif/*DISABLE_HUGIN*/ std::string outputengine; std::string inputengine; -- cgit v1.2.3