Skip to content

Commit

Permalink
archive_version_details is available from libArchive version 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenop committed Mar 10, 2019
1 parent c4dd537 commit e817607
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/api/tesseractmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,12 @@ static void PrintVersionInfo() {
printf(" Found OpenMP %d\n", _OPENMP);
#endif
#if defined(HAVE_LIBARCHIVE)
printf(" Found %s", archive_version_details() );
#endif
# if ARCHIVE_VERSION_NUMBER >= 3002000
printf(" Found %s", archive_version_details());
# else
printf(" Found %s", archive_version_string());
# endif // ARCHIVE_VERSION_NUMBER
#endif // HAVE_LIBARCHIVE

}

Expand Down

0 comments on commit e817607

Please sign in to comment.