diff options
author | Werner Koch <[email protected]> | 2010-04-14 14:39:16 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2010-04-14 14:39:16 +0000 |
commit | 53c636c4c666ab27440fb4a866bf0ae32f0aa517 (patch) | |
tree | ac6d1e065b3f65bec63484d636c1ed0b19dbf8d1 /g10/cpr.c | |
parent | Whole lot of changes to support CE. (diff) | |
download | gnupg-53c636c4c666ab27440fb4a866bf0ae32f0aa517.tar.gz gnupg-53c636c4c666ab27440fb4a866bf0ae32f0aa517.zip |
./autogen.sh --build-w32ce does now succeed.
Diffstat (limited to 'g10/cpr.c')
-rw-r--r-- | g10/cpr.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -24,7 +24,9 @@ #include <string.h> #include <errno.h> #include <unistd.h> -#include <signal.h> +#ifdef HAVE_SIGNAL_H +# include <signal.h> +#endif #include "gpg.h" #include "util.h" @@ -312,7 +314,9 @@ myread(int fd, void *buf, size_t count) } else { /* Ctrl-D not caught - do something reasonable */ #ifdef HAVE_DOSISH_SYSTEM +#ifndef HAVE_W32CE_SYSTEM raise (SIGINT); /* nothing to hangup under DOS */ +#endif #else raise (SIGHUP); /* no more input data */ #endif |