From: Michael Beck Date: Tue, 30 Nov 2004 09:34:00 +0000 (+0000) Subject: Removed config.h include, which is NOT installed X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=16d930945862898c2e4ef1cc537bd228d4f5b7b4;p=libfirm Removed config.h include, which is NOT installed used macro with (()) :-) [r4503] --- diff --git a/ir/ir/irprintf.h b/ir/ir/irprintf.h index 1e1a2f6af..d2b9ebde0 100644 --- a/ir/ir/irprintf.h +++ b/ir/ir/irprintf.h @@ -20,8 +20,6 @@ #ifndef _IRPRINTF_H #define _IRPRINTF_H -#include "config.h" - /** * Something that can append strings and chars to something. */ @@ -105,19 +103,13 @@ void ir_snprintf(char *buf, size_t n, const char *fmt, ...); #ifdef DEBUG_libfirm -#define ir_debugf ir_printf -#define ir_fdebugf ir_fprintf +#define ir_debugf(p) ir_printf p +#define ir_fdebugf(p) ir_fprintf p #else -static INLINE void ir_debugf(const char *fmt, ...) -{ -} - -static INLINE void ir_fdebugf(FILE *, const char *fmt, ...) -{ -} - +#define ir_debugf(p) +#define ir_fdebugf(p) #endif