зеркало из https://github.com/mozilla/pjs.git
added 'extern "C"' to declaration of NS_NewHTMLLoggingSink to fix mac link error...
This commit is contained in:
Родитель
5ce067b14c
Коммит
31b535853c
|
@ -34,6 +34,6 @@ public:
|
|||
NS_IMETHOD Init(FILE* fp) = 0;
|
||||
};
|
||||
|
||||
extern nsresult NS_NewHTMLLoggingSink(nsIContentSink** aInstancePtrResult);
|
||||
extern "C" nsresult NS_NewHTMLLoggingSink(nsIContentSink** aInstancePtrResult);
|
||||
|
||||
#endif /* nsILoggingSink_h___ */
|
||||
|
|
|
@ -34,6 +34,6 @@ public:
|
|||
NS_IMETHOD Init(FILE* fp) = 0;
|
||||
};
|
||||
|
||||
extern nsresult NS_NewHTMLLoggingSink(nsIContentSink** aInstancePtrResult);
|
||||
extern "C" nsresult NS_NewHTMLLoggingSink(nsIContentSink** aInstancePtrResult);
|
||||
|
||||
#endif /* nsILoggingSink_h___ */
|
||||
|
|
Загрузка…
Ссылка в новой задаче