aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Bellon <[email protected]>2004-01-03 17:13:59 +0000
committerStefan Bellon <[email protected]>2004-01-03 17:13:59 +0000
commited3f4dad7ab07bf4551d380e931474e031da52ce (patch)
tree8221363ab77c25493a096c926581df703138f968
parent* clearsig.test, conventional-mdc.test, conventional.test, defs.inc, (diff)
downloadgnupg-ed3f4dad7ab07bf4551d380e931474e031da52ce.tar.gz
gnupg-ed3f4dad7ab07bf4551d380e931474e031da52ce.zip
Only use ZLib module on RISC OS when configured
Diffstat (limited to '')
-rw-r--r--g10/ChangeLog5
-rw-r--r--g10/compress.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index 2e106ed9c..c281c590b 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,3 +1,8 @@
+2004-01-03 Stefan Bellon <[email protected]>
+
+ * compress.c [__riscos__]: Only use RISC OS' own ZLib module if
+ configured to use it.
+
2003-12-30 David Shaw <[email protected]>
* options.h, g10.c (main), import.c (parse_import_options,
diff --git a/g10/compress.c b/g10/compress.c
index 3a027e57c..88eacf8de 100644
--- a/g10/compress.c
+++ b/g10/compress.c
@@ -33,7 +33,7 @@
#include <assert.h>
#include <errno.h>
#include <zlib.h>
-#ifdef __riscos__
+#if defined(__riscos__) && defined(USE_ZLIBRISCOS)
# include "zlib-riscos.h"
#endif
@@ -53,7 +53,7 @@ init_compress( compress_filter_context_t *zfx, z_stream *zs )
int rc;
int level;
-#ifdef __riscos__
+#if defined(__riscos__) && defined(USE_ZLIBRISCOS)
static int zlib_initialized = 0;
if (!zlib_initialized)