projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added add_saturated
[libfirm]
/
ir
/
common
/
debug.c
diff --git
a/ir/common/debug.c
b/ir/common/debug.c
index
6e5d626
..
6c27480
100644
(file)
--- a/
ir/common/debug.c
+++ b/
ir/common/debug.c
@@
-8,6
+8,8
@@
#include "config.h"
#endif
#include "config.h"
#endif
+#ifdef DEBUG_libfirm
+
#include <stdarg.h>
#include <string.h>
#include <stdarg.h>
#include <string.h>
@@
-164,3
+166,10
@@
void _firm_dbg_print(const firm_dbg_module_t *mod, unsigned mask, const char *fm
}
#endif /* WITH_LIBCORE */
}
#endif /* WITH_LIBCORE */
+
+#else /* DEBUG_libfirm */
+
+/* some picky compiler don't allow empty files */
+static int dummy;
+
+#endif /* DEBUG_libfirm */