diff options
Diffstat (limited to 'navit/debug.h')
-rw-r--r-- | navit/debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/debug.h b/navit/debug.h index b452f1837..0b1142e08 100644 --- a/navit/debug.h +++ b/navit/debug.h @@ -30,7 +30,7 @@ extern int debug_level; #define dbg_str2(x) #x #define dbg_str1(x) dbg_str2(x) #define dbg_module dbg_str1(MODULE) -#define dbg(level,...) ({ if (debug_level >= level) debug_printf(level,dbg_module,strlen(dbg_module),__PRETTY_FUNCTION__, strlen(__PRETTY_FUNCTION__),1,__VA_ARGS__); }) +#define dbg(level,...) { if (debug_level >= level) debug_printf(level,dbg_module,strlen(dbg_module),__PRETTY_FUNCTION__, strlen(__PRETTY_FUNCTION__),1,__VA_ARGS__); } #define dbg_assert(expr) ((expr) ? (void) 0 : debug_assert_fail(dbg_module,strlen(dbg_module),__PRETTY_FUNCTION__, strlen(__PRETTY_FUNCTION__),__FILE__,__LINE__,dbg_str1(expr))) #ifdef DEBUG_MALLOC |