Commit af8c688e authored by Andreas Zwinkau's avatar Andreas Zwinkau
Browse files

Fix DEBUG_ONLY use

parent 64d303d4
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment