Skip to content

Commit b8bb251

Browse files
martinpittamejia1
authored andcommitted
Use correct define for libarchive version number in archive.h.
Signed-off-by: Andres Mejia <amejia004@gmail.com>
1 parent 453f819 commit b8bb251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/untar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ copy_data(struct archive *ar, struct archive *aw)
199199
int r;
200200
const void *buff;
201201
size_t size;
202-
#if ARCHIVE_VERSION >= 3000000
202+
#if ARCHIVE_VERSION_NUMBER >= 3000000
203203
int64_t offset;
204204
#else
205205
off_t offset;

0 commit comments

Comments
 (0)