From d90609ce1c8bb2c4d91a7a05a97a54708a98ccad Mon Sep 17 00:00:00 2001 From: "cls%seawood.org" Date: Thu, 13 Apr 2006 17:03:18 +0000 Subject: [PATCH] Wrap FORCE_PR_LOG with MOZ_LOGGING ifdef so that --disable-logging works. Bug #243870 r=biesi git-svn-id: svn://10.0.0.236/trunk@194324 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/components/nsNativeComponentLoader.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mozilla/xpcom/components/nsNativeComponentLoader.cpp b/mozilla/xpcom/components/nsNativeComponentLoader.cpp index 10014590ba2..cc57cc4f384 100644 --- a/mozilla/xpcom/components/nsNativeComponentLoader.cpp +++ b/mozilla/xpcom/components/nsNativeComponentLoader.cpp @@ -46,7 +46,10 @@ * 04/20/2000 IBM Corp. Added PR_CALLBACK for Optlink use in OS2 */ +/* Allow logging in the release build */ +#ifdef MOZ_LOGGING #define FORCE_PR_LOG +#endif #include "nsNativeComponentLoader.h"