From 78c5ff376dd37462fad9a2194e4ee4931dcbc473 Mon Sep 17 00:00:00 2001 From: Dmitri Pal Date: Tue, 24 Feb 2009 17:49:02 -0500 Subject: Fixing unittest. Fininshing with submit to syslog. --- collection/elapi_debug.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'collection/elapi_debug.h') diff --git a/collection/elapi_debug.h b/collection/elapi_debug.h index 3da0685..5f2c174 100644 --- a/collection/elapi_debug.h +++ b/collection/elapi_debug.h @@ -31,5 +31,14 @@ #define DEBUG_ASSERT(expression) ; #endif +#ifdef ELAPI_LOG_DEBUG +#ifdef ELAPI_TOOLS_H +#define DEBUG_COLLECTION(collection) debug_collection(collection,ELAPI_TRAVERSE_DEFAULT); +#else +#define DEBUG_COLLECTION(collection) ; +#endif +#else +#define DEBUG_COLLECTION(collection) ; +#endif #endif -- cgit