summaryrefslogtreecommitdiff
path: root/archival/libunarchive/seek_by_jump.c
diff options
context:
space:
mode:
authorGlenn L McGrath2002-11-08 08:07:38 +0000
committerGlenn L McGrath2002-11-08 08:07:38 +0000
commit57033411236427677b925bb86ef0613000cb52b0 (patch)
tree5e395f6793f962c9e0dd99c9826f32c592ccc28c /archival/libunarchive/seek_by_jump.c
parentf6bf7a03fec2ae854bdbf7a597484b7ab49a4a51 (diff)
downloadbusybox-57033411236427677b925bb86ef0613000cb52b0.zip
busybox-57033411236427677b925bb86ef0613000cb52b0.tar.gz
#ifdef, not just #if... grrr
Diffstat (limited to 'archival/libunarchive/seek_by_jump.c')
-rw-r--r--archival/libunarchive/seek_by_jump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/seek_by_jump.c b/archival/libunarchive/seek_by_jump.c
index efad97f..2823976 100644
--- a/archival/libunarchive/seek_by_jump.c
+++ b/archival/libunarchive/seek_by_jump.c
@@ -25,7 +25,7 @@
extern void seek_by_jump(const archive_handle_t *archive_handle, const unsigned int amount)
{
if (lseek(archive_handle->src_fd, (off_t) amount, SEEK_CUR) == (off_t) -1) {
-#if CONFIG_FEATURE_UNARCHIVE_TAPE
+#ifdef CONFIG_FEATURE_UNARCHIVE_TAPE
if (errno == ESPIPE) {
seek_by_char(archive_handle, amount);
} else