From 8ce7ef73bd1de1eb0cba463e0c58d83be9242a36 Mon Sep 17 00:00:00 2001 From: "dp%netscape.com" Date: Tue, 1 Feb 2000 07:55:39 +0000 Subject: [PATCH] Adding nsBasicStreamGenerator on windows. r=sspitzer --- extensions/wallet/src/makefile.win | 1 + extensions/wallet/src/nsWalletFactory.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/extensions/wallet/src/makefile.win b/extensions/wallet/src/makefile.win index 25f4f802980..da8b0ced1c5 100644 --- a/extensions/wallet/src/makefile.win +++ b/extensions/wallet/src/makefile.win @@ -29,6 +29,7 @@ CPP_OBJS= .\$(OBJDIR)\wallet.obj \ .\$(OBJDIR)\singsign.obj \ .\$(OBJDIR)\nsWalletFactory.obj \ .\$(OBJDIR)\nsWalletService.obj \ + .\$(OBJDIR)\nsBasicStreamGenerator.obj \ $(NULL) CPPSRCS = \ diff --git a/extensions/wallet/src/nsWalletFactory.cpp b/extensions/wallet/src/nsWalletFactory.cpp index 6fd134edc01..c0f28260ece 100644 --- a/extensions/wallet/src/nsWalletFactory.cpp +++ b/extensions/wallet/src/nsWalletFactory.cpp @@ -29,7 +29,7 @@ // Define the constructor function for the nsWalletlibService NS_GENERIC_FACTORY_CONSTRUCTOR(nsWalletlibService) -#if defined(XP_UNIX) +#if defined(XP_UNIX) || defined(XP_WIN) #include "nsBasicStreamGenerator.h" NS_GENERIC_FACTORY_CONSTRUCTOR(nsBasicStreamGenerator) #endif @@ -39,7 +39,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsBasicStreamGenerator) static nsModuleComponentInfo components[] = { { NS_WALLETSERVICE_CLASSNAME, NS_WALLETSERVICE_CID, NS_WALLETSERVICE_PROGID, nsWalletlibServiceConstructor }, -#if defined(XP_UNIX) +#if defined(XP_UNIX) || defined(XP_WIN) { NS_BASIC_STREAM_GENERATOR_CLASSNAME, NS_BASIC_STREAM_GENERATOR_CID, NS_BASIC_STREAM_GENERATOR_PROGID, nsBasicStreamGeneratorConstructor }, #endif