From 16e1c8b8eb021962a62b70285b00a03d9d432665 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Thu, 15 Apr 2010 10:55:18 +0000 Subject: [PATCH] only compile statev code if enabled [r27401] --- ir/stat/statev.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ir/stat/statev.c b/ir/stat/statev.c index 44bfa2711..e999bcf3a 100644 --- a/ir/stat/statev.c +++ b/ir/stat/statev.c @@ -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 -- 2.20.1