summaryrefslogtreecommitdiff
path: root/i18n
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-02-25 20:39:41 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-02-25 20:39:41 +0000
commitf2f554ea893c1326445c8546eca02c5e65c85e04 (patch)
treea3e2e599ce12612d3dee4b8692c03509a4ca0fa7 /i18n
parent60d7c3aed3968f82f261c822e236427fc7242a15 (diff)
downloadlibapr-f2f554ea893c1326445c8546eca02c5e65c85e04.tar.gz
Fix the hosed #ifdef APR_HAVE_FOO_H tests, the #if HAVE_ tests, and
also cleanup s/#ifdef HAVE_FOO_H/#if APR_HAVE_FOO_H/ whrere appropriate. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61303 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'i18n')
-rw-r--r--i18n/unix/xlate.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/i18n/unix/xlate.c b/i18n/unix/xlate.c
index 07ea14650..c46c7a0c3 100644
--- a/i18n/unix/xlate.c
+++ b/i18n/unix/xlate.c
@@ -95,7 +95,7 @@ struct apr_xlate_t {
char *frompage;
char *topage;
char *sbcs_table;
-#ifdef HAVE_ICONV
+#ifdev HAVE_ICONV
iconv_t ich;
#endif
};
@@ -173,7 +173,7 @@ static const char *handle_special_names(const char *page)
static apr_status_t apr_xlate_cleanup(void *convset)
{
-#ifdef HAVE_ICONV
+#ifdev HAVE_ICONV
apr_xlate_t *old = convset;
if (old->ich != (iconv_t)-1) {
@@ -185,7 +185,7 @@ static apr_status_t apr_xlate_cleanup(void *convset)
return APR_SUCCESS;
}
-#ifdef HAVE_ICONV
+#ifdev HAVE_ICONV
static void check_sbcs(apr_xlate_t *convset)
{
char inbuf[256], outbuf[256];
@@ -251,7 +251,7 @@ apr_status_t apr_xlate_open(apr_xlate_t **convset, const char *topage,
set found to non-zero if found in the cache
#endif
-#ifdef HAVE_ICONV
+#ifdev HAVE_ICONV
if (!found) {
new->ich = iconv_open(topage, frompage);
if (new->ich == (iconv_t)-1) {
@@ -287,7 +287,7 @@ apr_status_t apr_xlate_conv_buffer(apr_xlate_t *convset, const char *inbuf,
apr_size_t *outbytes_left)
{
apr_status_t status = APR_SUCCESS;
-#ifdef HAVE_ICONV
+#ifdev HAVE_ICONV
size_t translated;
if (convset->ich != (iconv_t)-1) {