#ifdef, not just #if... grrr

This commit is contained in:
Glenn L McGrath 2002-11-08 08:07:38 +00:00
parent f6bf7a03fe
commit 5703341123

View File

@ -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