зеркало из https://github.com/mozilla/gecko-dev.git
Also wrap in #ifdef __cplusplus
This commit is contained in:
Родитель
c9c47efc3c
Коммит
e9d590dbb4
|
@ -253,6 +253,7 @@ typedef PRUint16 PRUnichar;
|
|||
/* Because this may be included bogously a C file (or an extern "C"
|
||||
block), we'll "extern C++" it. There's a bug filed against that
|
||||
somewhere. */
|
||||
#ifdef __cplusplus
|
||||
extern "C++" {
|
||||
|
||||
template <class T>
|
||||
|
@ -272,4 +273,6 @@ NS_MAX( const T& a, const T& b )
|
|||
}
|
||||
}
|
||||
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* nscore_h___ */
|
||||
|
|
Загрузка…
Ссылка в новой задаче