From fe54d94b06feae64673aec145788facbb6c489e9 Mon Sep 17 00:00:00 2001 From: "mcmullen%netscape.com" Date: Sun, 28 Feb 1999 00:24:53 +0000 Subject: [PATCH] REALLY add nsRegistry and libreg to the Mac build. --- config/mac/DefinesMozilla.h | 2 +- xpcom/components/nsRepository.cpp | 2 +- xpcom/src/nsRepository.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/mac/DefinesMozilla.h b/config/mac/DefinesMozilla.h index 481ca67da47..90d3dddce3f 100644 --- a/config/mac/DefinesMozilla.h +++ b/config/mac/DefinesMozilla.h @@ -47,7 +47,7 @@ // 98-10-14 joe -- temporary item to turn on ENDER MIME support before it fully lands #define MOZ_ENDER_MIME 1 -// #define USE_NSREG 1 +#define USE_NSREG 1 // ——————————————————————————————————————————————————————————————————————————— // • You typically will not need to change things below here diff --git a/xpcom/components/nsRepository.cpp b/xpcom/components/nsRepository.cpp index 2d0f955fb44..8f3949d7ffa 100644 --- a/xpcom/components/nsRepository.cpp +++ b/xpcom/components/nsRepository.cpp @@ -1473,7 +1473,7 @@ nsresult nsRepository::AutoRegister(NSRegistrationInstant when, ProcessSerialNumber psn; ProcessInfoRec pInfo; FSSpec appFSSpec; - long theDirID, oldLen, newLen; + long theDirID; Str255 name; #endif diff --git a/xpcom/src/nsRepository.cpp b/xpcom/src/nsRepository.cpp index 2d0f955fb44..8f3949d7ffa 100644 --- a/xpcom/src/nsRepository.cpp +++ b/xpcom/src/nsRepository.cpp @@ -1473,7 +1473,7 @@ nsresult nsRepository::AutoRegister(NSRegistrationInstant when, ProcessSerialNumber psn; ProcessInfoRec pInfo; FSSpec appFSSpec; - long theDirID, oldLen, newLen; + long theDirID; Str255 name; #endif