зеркало из https://github.com/mozilla/pjs.git
fixed to compile on Mac
This commit is contained in:
Родитель
4e61a42417
Коммит
08f35341f7
|
@ -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 */
|
||||
|
|
Загрузка…
Ссылка в новой задаче