Fix XPCOM build break on OS/2, see bug 345517. p=abwillis1, r=benjamin

This commit is contained in:
mozilla%weilbacher.org 2006-12-07 22:54:18 +00:00
Родитель aae42c2a22
Коммит 549a7d3575
1 изменённых файлов: 5 добавлений и 2 удалений

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

@ -498,8 +498,11 @@ class nsTSubstring_CharT : public nsTAString_CharT
* NOTE: this constructor is declared public _only_ for convenience
* inside the string implementation.
*/
NS_COM nsTSubstring_CharT( char_type *data, size_type length, PRUint32 flags );
#ifdef XP_OS2 /* Workaround for GCC 3.3.x bug. */
nsTSubstring_CharT( char_type *data, size_type length, PRUint32 flags ) NS_COM;
#else
NS_COM nsTSubstring_CharT( char_type *data, size_type length, PRUint32 flags );
#endif
protected:
friend class nsTObsoleteAStringThunk_CharT;