summaryrefslogtreecommitdiff
path: root/passwd
diff options
context:
space:
mode:
authorBradley Nicholes <bnicholes@apache.org>2002-07-15 20:16:17 +0000
committerBradley Nicholes <bnicholes@apache.org>2002-07-15 20:16:17 +0000
commit7e8aa23751b67e27dad82d40a6362273b6f6f602 (patch)
tree4e6b8948ad9944c4c5596f8a0faad1fa44e5dcdd /passwd
parentb09f6acd610ff01e7f446819456585a72aafcc53 (diff)
downloadapr-7e8aa23751b67e27dad82d40a6362273b6f6f602.tar.gz
Define _getch() and use the same getpass() implementation as Win32
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63683 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'passwd')
-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).