changes to get mac to build. same as unix for now.

git-svn-id: svn://10.0.0.236/trunk@25875 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pinkerton%netscape.com
1999-04-01 18:37:19 +00:00
parent 2cd0afe7aa
commit ad7623d610

View File

@@ -22,7 +22,7 @@
#include "nsRepository.h"
// These are temporary
#ifdef XP_UNIX
#if defined(XP_UNIX) || defined(XP_MAC)
#include <strstream.h>
#endif
@@ -30,11 +30,6 @@
#include <strstrea.h>
#endif
#ifdef XP_MAC
#include <sstream>
#include <string>
#endif
// XIF convertor stuff
#include "nsIParser.h"
#include "nsParserCIID.h"
@@ -284,14 +279,7 @@ NS_IMETHODIMP nsXIFFormatConverter::ConvertFromXIFToHTML(const nsString & aFromS
rv = NS_New_HTML_ContentSinkStream(&sink,PR_FALSE,PR_FALSE);
ostrstream* copyStream;
#ifdef XP_MAC
copyStream = new stringstream;
#else
copyStream = new ostrstream;
#endif
ostrstream* copyStream = new ostrstream;
((nsHTMLContentSinkStream*)sink)->SetOutputStream(*copyStream);
if (NS_OK == rv) {