only compile statev code if enabled
authorMatthias Braun <matze@braunis.de>
Thu, 15 Apr 2010 10:55:18 +0000 (10:55 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 15 Apr 2010 10:55:18 +0000 (10:55 +0000)
[r27401]

ir/stat/statev.c

index 44bfa27..e999bcf 100644 (file)
@@ -39,6 +39,8 @@
 
 #include "config.h"
 
+#if defined(FIRM_STATISTICS) && !defined(DISABLE_STATEV)
+
 #ifdef HAVE_REGEX_H
 #define FIRM_HAVE_REGEX
 #endif
@@ -150,3 +152,5 @@ void stat_ev_end(void)
 #endif
        }
 }
+
+#endif