#ifdef, not just #if... grrr
This commit is contained in:
parent
f6bf7a03fe
commit
5703341123
@ -25,7 +25,7 @@
|
|||||||
extern void seek_by_jump(const archive_handle_t *archive_handle, const unsigned int amount)
|
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 (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) {
|
if (errno == ESPIPE) {
|
||||||
seek_by_char(archive_handle, amount);
|
seek_by_char(archive_handle, amount);
|
||||||
} else
|
} else
|
||||||
|
Loading…
Reference in New Issue
Block a user