mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
changes to get mac to build. same as unix for now.
This commit is contained in:
parent
b1db848797
commit
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user