1
0
mirror of https://github.com/php/php-src.git synced 2026-04-20 22:41:20 +02:00

Fix probs on OpenBSD-current and RedHat 6.1

This commit is contained in:
Wez Furlong
2001-08-08 20:00:09 +00:00
parent c31ba75577
commit b00809a322

View File

@@ -228,7 +228,7 @@ static enum entity_charset determine_charset(char * charset_hint)
if (strlen(charset_hint) == 0) {
/* try to detect the charset for the locale */
#if HAVE_NL_LANGINFO
#if HAVE_NL_LANGINFO && HAVE_LOCALE_H && defined(CODESET)
charset_hint = nl_langinfo(CODESET);
#endif
#if HAVE_LOCALE_H