From b8bb251083006b8af56c4d099ac4dc5475ce5cbb Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sat, 9 Feb 2013 14:07:28 -0500 Subject: [PATCH] Use correct define for libarchive version number in archive.h. Signed-off-by: Andres Mejia --- examples/untar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/untar.c b/examples/untar.c index 2e5f46d02..d39291a22 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; -- 2.47.2