summaryrefslogtreecommitdiff
path: root/passwd/apr_getpass.c
diff options
context:
space:
mode:
authorbnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68>2002-07-15 20:16:17 +0000
committerbnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68>2002-07-15 20:16:17 +0000
commit4d553a23352a0a55f9c388e9d93f5e126357cc4c (patch)
tree4e6b8948ad9944c4c5596f8a0faad1fa44e5dcdd /passwd/apr_getpass.c
parent6563daa8be513053a6dd9a8cc14e3318ab32374b (diff)
downloadlibapr-4d553a23352a0a55f9c388e9d93f5e126357cc4c.tar.gz
Define _getch() and use the same getpass() implementation as Win32
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63683 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'passwd/apr_getpass.c')
-rw-r--r--passwd/apr_getpass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/passwd/apr_getpass.c b/passwd/apr_getpass.c
index cf84b7f1d..a9fbcf233 100644
--- a/passwd/apr_getpass.c
+++ b/passwd/apr_getpass.c
@@ -104,9 +104,9 @@
#ifndef HAVE_GETPASS
-/* MPE, Win32 and BeOS all lack a native getpass() */
+/* MPE, Win32, NetWare and BeOS all lack a native getpass() */
-#if !defined(HAVE_TERMIOS_H) && !defined(WIN32)
+#if !defined(HAVE_TERMIOS_H) && !defined(WIN32) && !defined(NETWARE)
/*
* MPE lacks getpass() and a way to suppress stdin echo. So for now, just
* issue the prompt and read the results with echo. (Ugh).