diff options
author | Werner Koch <wk@gnupg.org> | 2010-04-14 16:39:16 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2010-04-14 16:39:16 +0200 |
commit | 53c636c4c666ab27440fb4a866bf0ae32f0aa517 (patch) | |
tree | ac6d1e065b3f65bec63484d636c1ed0b19dbf8d1 /g10/main.h | |
parent | Whole lot of changes to support CE. (diff) | |
download | gnupg2-53c636c4c666ab27440fb4a866bf0ae32f0aa517.tar.xz gnupg2-53c636c4c666ab27440fb4a866bf0ae32f0aa517.zip |
./autogen.sh --build-w32ce does now succeed.
Diffstat (limited to 'g10/main.h')
-rw-r--r-- | g10/main.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/g10/main.h b/g10/main.h index 781a49f38..540d9b1d9 100644 --- a/g10/main.h +++ b/g10/main.h @@ -33,8 +33,13 @@ #define DEFAULT_CIPHER_ALGO CIPHER_ALGO_CAST5 #define DEFAULT_DIGEST_ALGO DIGEST_ALGO_SHA1 -#define DEFAULT_COMPRESS_ALGO COMPRESS_ALGO_ZIP #define DEFAULT_S2K_DIGEST_ALGO DIGEST_ALGO_SHA1 +#ifdef HAVE_ZIP +# define DEFAULT_COMPRESS_ALGO COMPRESS_ALGO_ZIP +#else +# define DEFAULT_COMPRESS_ALGO COMPRESS_ALGO_NONE +#endif + #define S2K_DIGEST_ALGO (opt.s2k_digest_algo?opt.s2k_digest_algo:DEFAULT_S2K_DIGEST_ALGO) |