Also wrap in #ifdef __cplusplus

This commit is contained in:
waterson%netscape.com 2000-05-14 00:17:47 +00:00
Родитель c9c47efc3c
Коммит e9d590dbb4
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -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___ */