From af8c688e70aef2fdc30b443a72be449bafe013d1 Mon Sep 17 00:00:00 2001 From: Andreas Zwinkau Date: Thu, 15 Sep 2011 13:23:39 +0200 Subject: [PATCH] Fix DEBUG_ONLY use --- ir/lpp/lpp_comm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ir/lpp/lpp_comm.c b/ir/lpp/lpp_comm.c index 0a7859129..6dc1094ff 100644 --- a/ir/lpp/lpp_comm.c +++ b/ir/lpp/lpp_comm.c @@ -55,7 +55,7 @@ struct _lpp_comm_t { char *r_buf; }; -DEBUG_ONLY( +#ifdef DEBUG_libfirm static inline firm_dbg_module_t *get_dbg_module(void) { static firm_dbg_module_t *dbg = NULL; @@ -65,9 +65,8 @@ static inline firm_dbg_module_t *get_dbg_module(void) return dbg; } - #define dbg get_dbg_module() -) +#endif /** * Try to read some bytes but block until a certain amount is read. -- 2.20.1