projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
64d303d
)
Fix DEBUG_ONLY use
author
Andreas Zwinkau
<zwinkau@kit.edu>
Thu, 15 Sep 2011 11:23:39 +0000
(13:23 +0200)
committer
Andreas Zwinkau
<zwinkau@kit.edu>
Thu, 15 Sep 2011 11:23:39 +0000
(13:23 +0200)
ir/lpp/lpp_comm.c
patch
|
blob
|
history
diff --git
a/ir/lpp/lpp_comm.c
b/ir/lpp/lpp_comm.c
index
0a78591
..
6dc1094
100644
(file)
--- a/
ir/lpp/lpp_comm.c
+++ b/
ir/lpp/lpp_comm.c
@@
-55,7
+55,7
@@
struct _lpp_comm_t {
char *r_buf;
};
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;
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;
}
return dbg;
}
-
#define dbg get_dbg_module()
#define dbg get_dbg_module()
-)
+#endif
/**
* Try to read some bytes but block until a certain amount is read.
/**
* Try to read some bytes but block until a certain amount is read.