Add an explicit check for CODESET to fix OpenBSD bustage. r=bstell@netscape.com

This commit is contained in:
cls%seawood.org 2001-04-13 06:41:17 +00:00
Родитель abc592f040
Коммит 857e11c362
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -232,7 +232,7 @@ nsUNIXCharset::InitGetCharset(nsString &oString)
nsString aCharset; nsString aCharset;
nsresult res; nsresult res;
#if HAVE_NL_LANGINFO #if HAVE_NL_LANGINFO && defined(CODESET)
nl_langinfo_codeset = nl_langinfo(CODESET); nl_langinfo_codeset = nl_langinfo(CODESET);
NS_ASSERTION(nl_langinfo_codeset, "cannot get nl_langinfo(CODESET)"); NS_ASSERTION(nl_langinfo_codeset, "cannot get nl_langinfo(CODESET)");