From 5844b9882682470f50b6aa6521dfc2d2e338ce01 Mon Sep 17 00:00:00 2001 From: "benjamin%smedbergs.us" Date: Mon, 27 Mar 2006 19:43:09 +0000 Subject: [PATCH] Bug 331476 - Make storage test use the XPCOM glue, r=vlad git-svn-id: svn://10.0.0.236/trunk@193061 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/storage/test/Makefile.in | 3 +-- mozilla/storage/test/storage1.cpp | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/storage/test/Makefile.in b/mozilla/storage/test/Makefile.in index 8ef9002e080..022884ef209 100644 --- a/mozilla/storage/test/Makefile.in +++ b/mozilla/storage/test/Makefile.in @@ -44,7 +44,6 @@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk PROGRAM = teststorage1$(BIN_SUFFIX) -MOZILLA_INTERNAL_API = 1 CPPSRCS = storage1.cpp @@ -57,7 +56,7 @@ REQUIRES = \ LIBS = \ $(LIBS_DIR) \ - $(XPCOM_LIBS) \ + $(XPCOM_GLUE_LDOPTS) \ $(NSPR_LIBS) \ $(NULL) diff --git a/mozilla/storage/test/storage1.cpp b/mozilla/storage/test/storage1.cpp index d4f73b82ef0..fdfceb1b641 100644 --- a/mozilla/storage/test/storage1.cpp +++ b/mozilla/storage/test/storage1.cpp @@ -5,8 +5,9 @@ #include "nsIComponentManager.h" #include "nsISimpleEnumerator.h" #include "nsIServiceManager.h" +#include "nsServiceManagerUtils.h" #include "nsCOMPtr.h" -#include "nsString.h" +#include "nsStringAPI.h" #include "nsILocalFile.h" #include "mozIStorageService.h"