aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpg-connect-agent.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-04-14 14:39:16 +0000
committerWerner Koch <[email protected]>2010-04-14 14:39:16 +0000
commit53c636c4c666ab27440fb4a866bf0ae32f0aa517 (patch)
treeac6d1e065b3f65bec63484d636c1ed0b19dbf8d1 /tools/gpg-connect-agent.c
parentWhole lot of changes to support CE. (diff)
downloadgnupg-53c636c4c666ab27440fb4a866bf0ae32f0aa517.tar.gz
gnupg-53c636c4c666ab27440fb4a866bf0ae32f0aa517.zip
./autogen.sh --build-w32ce does now succeed.
Diffstat (limited to '')
-rw-r--r--tools/gpg-connect-agent.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/gpg-connect-agent.c b/tools/gpg-connect-agent.c
index 8506d6feb..80bb4e785 100644
--- a/tools/gpg-connect-agent.c
+++ b/tools/gpg-connect-agent.c
@@ -1203,11 +1203,7 @@ main (int argc, char **argv)
if (log_get_errorcount (0))
exit (2);
-#ifdef HAVE_W32CE_SYSTEM
- use_tty = 0;
-#else
- use_tty = (isatty ( fileno (stdin)) && isatty (fileno (stdout)));
-#endif
+ use_tty = (gnupg_isatty (fileno (stdin)) && gnupg_isatty (fileno (stdout)));
if (opt.exec)
{