aboutsummaryrefslogtreecommitdiffstats
path: root/common/sysutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/sysutils.c')
-rw-r--r--common/sysutils.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/common/sysutils.c b/common/sysutils.c
index 6ad5e27a9..46731271b 100644
--- a/common/sysutils.c
+++ b/common/sysutils.c
@@ -623,6 +623,17 @@ gnupg_unsetenv (const char *name)
#endif
}
+#ifdef HAVE_W32CE_SYSTEM
+/* There is a isatty function declaration in cegcc but it does not
+ make sense, thus we redefine it. */
+int
+_gnupg_isatty (int fd)
+{
+ (void)fd;
+ return 0;
+}
+#endif
+
#ifdef HAVE_W32CE_SYSTEM
/* Replacement for getenv which takes care of the our use of getenv.