summaryrefslogtreecommitdiff
path: root/passwd/apr_getpass.c
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2000-12-20 16:20:18 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2000-12-20 16:20:18 +0000
commitef54d862a471f7d7fca398eb2f69b31807443376 (patch)
tree9fcff265caade07ecd8f6967f2746155ac4237a9 /passwd/apr_getpass.c
parentbd6b25fd25142df2575c8af582e58ad47eb78420 (diff)
downloadlibapr-ef54d862a471f7d7fca398eb2f69b31807443376.tar.gz
Instead of a private AP_CHARSET_EBCDIC which is only defined on
an EBCDIC machine, define APR_CHARSET_EBCDIC to 0 or 1 for all the world to see and use it as appropriate in APR. I removed the TPF and BS2000 stuff. If configure doesn't work there they need to provide a custom apr.h anyway. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60972 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'passwd/apr_getpass.c')
-rw-r--r--passwd/apr_getpass.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/passwd/apr_getpass.c b/passwd/apr_getpass.c
index e9ecde9e5..c0a716c5f 100644
--- a/passwd/apr_getpass.c
+++ b/passwd/apr_getpass.c
@@ -78,13 +78,13 @@
#include <termios.h>
#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