summaryrefslogtreecommitdiffstats
path: root/support/htpasswd.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2000-12-20 17:44:01 +0100
committerJeff Trawick <trawick@apache.org>2000-12-20 17:44:01 +0100
commit351725e7266964eea4a0de39b6492fe5dfddf12d (patch)
treed47b145d0c624f40f21e2d78885823ff3ca1acd9 /support/htpasswd.c
parentAdd a note about the directives to add input and output filters. (diff)
downloadapache2-351725e7266964eea4a0de39b6492fe5dfddf12d.tar.xz
apache2-351725e7266964eea4a0de39b6492fe5dfddf12d.zip
Switch to the APR-provided APR_CHARSET_EBCDIC feature test macro.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87460 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/htpasswd.c')
-rw-r--r--support/htpasswd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/support/htpasswd.c b/support/htpasswd.c
index 4ef063f950..832ae4b852 100644
--- a/support/htpasswd.c
+++ b/support/htpasswd.c
@@ -104,13 +104,13 @@
#define unlink _unlink
#endif
-#ifndef AP_CHARSET_EBCDIC
+#if !APR_CHARSET_EBCDIC
#define LF 10
#define CR 13
-#else /*AP_CHARSET_EBCDIC*/
+#else /*APR_CHARSET_EBCDIC*/
#define LF '\n'
#define CR '\r'
-#endif /*AP_CHARSET_EBCDIC*/
+#endif /*APR_CHARSET_EBCDIC*/
#define MAX_STRING_LEN 256
#define ALG_PLAIN 0
@@ -384,7 +384,7 @@ int main(int argc, char *argv[])
int noninteractive = 0;
int i;
int args_left = 2;
-#ifdef AP_CHARSET_EBCDIC
+#if APR_CHARSET_EBCDIC
apr_pool_t *pool;
apr_status_t rv;
apr_xlate_t *to_ascii;
@@ -408,7 +408,7 @@ int main(int argc, char *argv[])
fprintf(stderr, "apr_MD5InitEBCDIC()->%d\n", rv);
exit(1);
}
-#endif /*AP_CHARSET_EBCDIC*/
+#endif /*APR_CHARSET_EBCDIC*/
tempfilename = NULL;
signal(SIGINT, (void (*)(int)) interrupted);