X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fmm%2Fboehm-gc%2FMacOS.c;h=b56bea782b9b2238f3f0dc7d6e4e2bb98b810ae7;hb=c83bff94e40ee0a218a39931af17814d1a42cb5c;hp=23a428b9b94f23a46ed96beb86169e4a9e68ab95;hpb=29c5375943f6b0d6c2e2f77c07c13ae04dae5565;p=cacao.git diff --git a/src/mm/boehm-gc/MacOS.c b/src/mm/boehm-gc/MacOS.c index 23a428b9b..b56bea782 100644 --- a/src/mm/boehm-gc/MacOS.c +++ b/src/mm/boehm-gc/MacOS.c @@ -15,8 +15,6 @@ unloading shared library. */ /* Boehm, February 15, 1996 2:55 pm PST */ -#include "config.h" - #include #include #include @@ -130,10 +128,12 @@ void GC_MacFreeTemporaryMemory() } theTemporaryMemory = NULL; -# if !defined(SILENT) && !defined(SHARED_LIBRARY_BUILD) - fprintf(stdout, "[total memory used: %ld bytes.]\n", +# if !defined(SHARED_LIBRARY_BUILD) + if (GC_print_stats) { + fprintf(stdout, "[total memory used: %ld bytes.]\n", totalMemoryUsed); - fprintf(stdout, "[total collections: %ld.]\n", GC_gc_no); + fprintf(stdout, "[total collections: %ld.]\n", GC_gc_no); + } # endif } }