From 6a71d8431c5000238d8c15a3fd8c043b8e4b66cd Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Thu, 17 Aug 2000 12:52:04 +0000 Subject: [PATCH] OS/2 Tinderbox break OK will someone WAKE UP and realize that we need XP_WIN defined in the build? XP_PC does NOT mean XP_WIN. WE NEED XP_WIN IN THE BUILD SOMEONE TURN IT ON IN THE MAKEFILE! --- profile/src/nsProfileAccess.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/profile/src/nsProfileAccess.cpp b/profile/src/nsProfileAccess.cpp index ff705a2c70b2..2df957659b80 100644 --- a/profile/src/nsProfileAccess.cpp +++ b/profile/src/nsProfileAccess.cpp @@ -92,7 +92,11 @@ nsProfileAccess::nsProfileAccess() // Get the old moz registry nsCOMPtr mozRegFile; -#if defined(XP_PC) +#if defined(XP_OS2) + NS_GetSpecialDirectory(NS_OS2_DIR, getter_AddRefs(mozRegFile)); + if (mozRegFile) + mozRegFile->Append(WIN_MOZ_REG); +#elif defined(XP_PC) NS_GetSpecialDirectory(NS_WIN_WINDOWS_DIR, getter_AddRefs(mozRegFile)); if (mozRegFile) mozRegFile->Append(WIN_MOZ_REG);