From 6c6643b04c1f3c94c7b4f56de3ee08d327d6b389 Mon Sep 17 00:00:00 2001 From: scullin Date: Fri, 5 Jun 1998 02:23:15 +0000 Subject: [PATCH] Back out dbm use on windows because of lame build order dependency. --- network/module/makefile.win | 1 - network/module/nsNetStubs.cpp | 9 +++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/network/module/makefile.win b/network/module/makefile.win index 424b22a7b474..70fa0648be9b 100644 --- a/network/module/makefile.win +++ b/network/module/makefile.win @@ -94,7 +94,6 @@ NETLIBS=\ $(NULL) LLIBS=$(LLIBS) $(LIBNSPR) \ - $(DIST)\lib\dbm32.lib \ $(DIST)\lib\secfreenav32.lib \ $(DIST)\lib\libpwcac.lib \ $(DIST)\lib\libplc21.lib \ diff --git a/network/module/nsNetStubs.cpp b/network/module/nsNetStubs.cpp index c5a5def3573c..6b2e39045c3b 100644 --- a/network/module/nsNetStubs.cpp +++ b/network/module/nsNetStubs.cpp @@ -43,6 +43,15 @@ extern "C" { extern "C" { +#ifdef XP_PC +DB * +dbopen(const char *fname, int flags,int mode, DBTYPE type, + const void *openinfo) +{ + return NULL; +} +#endif + /* Meta charset is weakest. Only set doc_csid if no http or override */ void INTL_SetCSIDocCSID (INTL_CharSetInfo c, int16 doc_csid)