From 53c636c4c666ab27440fb4a866bf0ae32f0aa517 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 14 Apr 2010 14:39:16 +0000 Subject: ./autogen.sh --build-w32ce does now succeed. --- common/sysutils.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'common/sysutils.c') 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. -- cgit v1.2.3