use system-own getpassword() function on NetWare.

This commit is contained in:
Gunter Knauf 2007-04-14 16:38:13 +00:00
parent 71a0d50f48
commit c60b52ab43
1 changed files with 10 additions and 0 deletions

View File

@ -124,6 +124,16 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
#define DONE
#endif /* WIN32 */
#ifdef NETWARE
/* NetWare implementation */
#include <screen.h>
char *getpass_r(const char *prompt, char *buffer, size_t buflen)
{
return(getpassword(prompt, buffer, buflen));
}
#define DONE
#endif /* WIN32 */
#ifndef DONE /* not previously provided */
#ifdef HAVE_TERMIOS_H