projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7aa3c13
)
Fixed compiling without statistics
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 27 May 2004 07:23:22 +0000
(07:23 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 27 May 2004 07:23:22 +0000
(07:23 +0000)
[r2955]
ir/stat/firmstat.c
patch
|
blob
|
history
diff --git
a/ir/stat/firmstat.c
b/ir/stat/firmstat.c
index
ad99a1a
..
ddfafa6
100644
(file)
--- a/
ir/stat/firmstat.c
+++ b/
ir/stat/firmstat.c
@@
-20,7
+20,6
@@
# include "irgraph_t.h"
# include "pset.h"
# include "irprog.h"
-# include "firmstat.h"
#include <stdio.h>
#include <stdlib.h>
@@
-33,6
+32,8
@@
#ifdef FIRM_STATISTICS
+#include "firmstat.h"
+
/*
* 64 bit should be enough for now
*/
@@
-495,6
+496,10
@@
void stat_finish(void)
#else
+/* need this for prototypes */
+#define FIRM_STATISTICS
+#include "firmstat.h"
+
void stat_init(void) {}
void stat_finish(void) {}