summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/untar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/untar.c b/examples/untar.c
index 2e5f46d0..d39291a2 100644
--- a/examples/untar.c
+++ b/examples/untar.c
@@ -199,7 +199,7 @@ copy_data(struct archive *ar, struct archive *aw)
int r;
const void *buff;
size_t size;
-#if ARCHIVE_VERSION >= 3000000
+#if ARCHIVE_VERSION_NUMBER >= 3000000
int64_t offset;
#else
off_t offset;