diff --git a/xpcom/base/nsGarbageCollector.c b/xpcom/base/nsGarbageCollector.c index 544e6945e9a..a8c4fc8a490 100644 --- a/xpcom/base/nsGarbageCollector.c +++ b/xpcom/base/nsGarbageCollector.c @@ -24,6 +24,8 @@ nsGarbageCollector.c */ +#ifdef GC_LEAK_DETECTOR + #include "generic_threads.h" #include "pprthred.h" @@ -99,3 +101,5 @@ void NSShutdownGarbageCollector() GC_gcollect(); #endif } + +#endif /* GC_LEAK_DETECTOR */