Add an explicit check for CODESET to fix OpenBSD bustage. r=bstell@netscape.com
git-svn-id: svn://10.0.0.236/trunk@92181 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -232,7 +232,7 @@ nsUNIXCharset::InitGetCharset(nsString &oString)
|
||||
nsString aCharset;
|
||||
nsresult res;
|
||||
|
||||
#if HAVE_NL_LANGINFO
|
||||
#if HAVE_NL_LANGINFO && defined(CODESET)
|
||||
nl_langinfo_codeset = nl_langinfo(CODESET);
|
||||
NS_ASSERTION(nl_langinfo_codeset, "cannot get nl_langinfo(CODESET)");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user