X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Flpp%2Flpp_comm.c;h=4af7b41cca983f09efff4b1a2f3c5bad768c01d4;hb=6ccff2965d94c272f71df2a1655336af47bb7753;hp=0a785912931b71a95476136991971c46ddea598b;hpb=64d303d4b2d76568d6404e2b6a1683c7e30c827e;p=libfirm diff --git a/ir/lpp/lpp_comm.c b/ir/lpp/lpp_comm.c index 0a7859129..4af7b41cc 100644 --- a/ir/lpp/lpp_comm.c +++ b/ir/lpp/lpp_comm.c @@ -40,7 +40,7 @@ #include #endif -#include "irtools.h" +#include "util.h" #include "debug.h" #include "lpp_comm.h" @@ -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.