mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
fixed to compile on Mac
This commit is contained in:
parent
60033176bc
commit
9d5a4142eb
@ -27,6 +27,17 @@
|
||||
#include "prio.h"
|
||||
#include <iostream.h>
|
||||
|
||||
#ifdef XP_MAC
|
||||
|
||||
class PRofstream : public ofstream
|
||||
{
|
||||
public:
|
||||
inline void attach(PRFileDesc *) {};
|
||||
};
|
||||
|
||||
#else
|
||||
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#define _PRSTR_BP _strbuf
|
||||
#define _PRSTR_DELBUF(x) /* as nothing */
|
||||
@ -103,4 +114,5 @@ public:
|
||||
void close();
|
||||
};
|
||||
|
||||
#endif /* XP_MAC */
|
||||
#endif /* __PRSTRM */
|
||||
|
@ -27,6 +27,17 @@
|
||||
#include "prio.h"
|
||||
#include <iostream.h>
|
||||
|
||||
#ifdef XP_MAC
|
||||
|
||||
class PRofstream : public ofstream
|
||||
{
|
||||
public:
|
||||
inline void attach(PRFileDesc *) {};
|
||||
};
|
||||
|
||||
#else
|
||||
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#define _PRSTR_BP _strbuf
|
||||
#define _PRSTR_DELBUF(x) /* as nothing */
|
||||
@ -103,4 +114,5 @@ public:
|
||||
void close();
|
||||
};
|
||||
|
||||
#endif /* XP_MAC */
|
||||
#endif /* __PRSTRM */
|
||||
|
Loading…
Reference in New Issue
Block a user