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

This commit is contained in:
pinkerton%netscape.com 1999-04-01 18:37:19 +00:00
Родитель b1db848797
Коммит 3752fe962a
1 изменённых файлов: 2 добавлений и 14 удалений

Просмотреть файл

@ -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) {