summaryrefslogtreecommitdiff
path: root/misc/unix/charset.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/unix/charset.c')
-rw-r--r--misc/unix/charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/unix/charset.c b/misc/unix/charset.c
index aa41a79f4..90528e022 100644
--- a/misc/unix/charset.c
+++ b/misc/unix/charset.c
@@ -103,7 +103,7 @@ APR_DECLARE(const char*) apr_os_default_encoding (apr_pool_t *pool)
APR_DECLARE(const char*) apr_os_locale_encoding (apr_pool_t *pool)
{
-#if defined(HAVE_NL_LANGINFO) && defined(HAVE_CODESET)
+#if defined(HAVE_NL_LANGINFO) && defined(CODESET)
const char *charset;
charset = nl_langinfo(CODESET);