aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/simple/ia64.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-11-25 18:04:37 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-11-25 18:04:37 +0200
commit90caaded2dc6db1d6a55b01160d7e87f4a423628 (patch)
tree51be01fed8e7ad180d4c732eaca6e33ff71fe155 /src/liblzma/simple/ia64.c
parentxz: Allow nice_len 2 and 3 even if match finder requires 3 or 4. (diff)
downloadxz-90caaded2dc6db1d6a55b01160d7e87f4a423628.tar.xz
liblzma: Omit simple coder init functions if they are disabled.
Diffstat (limited to 'src/liblzma/simple/ia64.c')
-rw-r--r--src/liblzma/simple/ia64.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/liblzma/simple/ia64.c b/src/liblzma/simple/ia64.c
index 6492d0a3..692b0a29 100644
--- a/src/liblzma/simple/ia64.c
+++ b/src/liblzma/simple/ia64.c
@@ -94,6 +94,7 @@ ia64_coder_init(lzma_next_coder *next, const lzma_allocator *allocator,
}
+#ifdef HAVE_ENCODER_IA64
extern lzma_ret
lzma_simple_ia64_encoder_init(lzma_next_coder *next,
const lzma_allocator *allocator,
@@ -101,8 +102,10 @@ lzma_simple_ia64_encoder_init(lzma_next_coder *next,
{
return ia64_coder_init(next, allocator, filters, true);
}
+#endif
+#ifdef HAVE_DECODER_IA64
extern lzma_ret
lzma_simple_ia64_decoder_init(lzma_next_coder *next,
const lzma_allocator *allocator,
@@ -110,3 +113,4 @@ lzma_simple_ia64_decoder_init(lzma_next_coder *next,
{
return ia64_coder_init(next, allocator, filters, false);
}
+#endif