зеркало из https://github.com/mozilla/gecko-dev.git
changes to get mac to build. same as unix for now.
This commit is contained in:
Родитель
b1db848797
Коммит
3752fe962a
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче