diff options
author | Werner Koch <[email protected]> | 1998-01-06 09:17:55 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1998-01-06 09:17:55 +0000 |
commit | 6e0fd3df65f36323ac168fe07abebbbc81a99977 (patch) | |
tree | ce77f277ebe4da077af61a181253ae9bba3bb385 /util/ttyio.c | |
parent | NT version compiles (diff) | |
download | gnupg-0-1-0.tar.gz gnupg-0-1-0.zip |
distributed version 0.1.0V0-1-0
Diffstat (limited to 'util/ttyio.c')
-rw-r--r-- | util/ttyio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/ttyio.c b/util/ttyio.c index 08ed41c4d..2cb52448c 100644 --- a/util/ttyio.c +++ b/util/ttyio.c @@ -41,7 +41,11 @@ init_ttyfp() if( ttyfp ) return; + #if defined(__MINGW32__) + ttyfp = stderr; /* fixme */ + #else ttyfp = fopen("/dev/tty", "r+"); + #endif if( !ttyfp ) log_fatal("cannot open /dev/tty: %s\n", strerror(errno) ); } |