diff options
author | Wez Furlong <wez@php.net> | 2001-08-08 20:00:09 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2001-08-08 20:00:09 +0000 |
commit | b00809a32285be24a0ad41ecd1f906e719742c86 (patch) | |
tree | c31cb765e2cab8b3668f9fccde3d06870bc67483 /ext | |
parent | c31ba75577d3a7f20f61d9f74ce6f15e336607ed (diff) | |
download | php-git-b00809a32285be24a0ad41ecd1f906e719742c86.tar.gz |
Fix probs on OpenBSD-current and RedHat 6.1
Diffstat (limited to 'ext')
-rw-r--r-- | ext/standard/html.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/html.c b/ext/standard/html.c index 5d1b01fd27..56ee51b495 100644 --- a/ext/standard/html.c +++ b/ext/standard/html.c @@ -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 |