From b4fec00ee78514dc4d5c8bb33d2ccbb0787a8e18 Mon Sep 17 00:00:00 2001 From: "sfraser%netscape.com" Date: Thu, 27 Jan 2000 05:51:40 +0000 Subject: [PATCH] Some mac-only debug window control. bug 24312. r=jj git-svn-id: svn://10.0.0.236/trunk@58890 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/tools/registry/regxpcom.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/mozilla/xpcom/tools/registry/regxpcom.cpp b/mozilla/xpcom/tools/registry/regxpcom.cpp index 92c4129ac69..f32c1a6e4c8 100644 --- a/mozilla/xpcom/tools/registry/regxpcom.cpp +++ b/mozilla/xpcom/tools/registry/regxpcom.cpp @@ -21,6 +21,12 @@ */ #include + +#ifdef XP_MAC +#include "macstdlibextras.h" +#endif + + #include "plstr.h" #include "prlink.h" #include "nsIComponentManager.h" @@ -129,6 +135,12 @@ int main(int argc, char *argv[]) { int ret = 0; +#ifdef XP_MAC +#if DEBUG + InitializeSIOUX(1); +#endif +#endif + NS_InitXPCOM(NULL, NULL); /* With no arguments, RegFactory will autoregister */