
Module: ppl/ppl Branch: master Commit: 61df49cc3d5fa606f95e15147058f01c423d5622 URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=61df49cc3d5fa...
Author: Abramo Bagnara abramo.bagnara@gmail.com Date: Mon Jul 13 22:03:05 2009 +0200
Don't compile Weight_Profiler if it's not used.
---
src/Weight_Profiler.cc | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/Weight_Profiler.cc b/src/Weight_Profiler.cc index 20a2a43..ec963ac 100644 --- a/src/Weight_Profiler.cc +++ b/src/Weight_Profiler.cc @@ -21,9 +21,11 @@ For the most up-to-date information see the Parma Polyhedra Library site: http://www.cs.unipr.it/ppl/ . */
#include <ppl-config.h> +#include "globals.defs.hh" + +#if PPL_PROFILE_ADD_WEIGHT #include <iostream> #include <cmath> -#include "globals.defs.hh" #include "Weight_Profiler.defs.hh"
namespace Parma_Polyhedra_Library { @@ -72,3 +74,5 @@ struct timespec Weight_Profiler::stamp; double Weight_Profiler::adj = Weight_Profiler::tune_adj();
} // namespace Parma_Polyhedra_Library + +#endif