work-around for cygwin32

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1202 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-02-01 17:54:00 +00:00
parent e60914acca
commit 13f126aa06
2 changed files with 6 additions and 1 deletions

View File

@@ -232,7 +232,9 @@ static int read_pw(buf, buff, size, prompt, verify)
FILE *tty=NULL;
char *p;
#ifndef MSDOS
#ifdef __CYGWIN32__
tty = stdin;
#elif !defined(MSDOS)
if ((tty=fopen("/dev/tty","r")) == NULL)
tty=stdin;
#else /* MSDOS */