aboutsummaryrefslogtreecommitdiffstats
path: root/g10/compress.c
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 /g10/compress.c
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 'g10/compress.c')
-rw-r--r--g10/compress.c4
1 files changed, 2 insertions, 2 deletions
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)