archive/iso9660: libcdio 2.0 compatibility

Closes #173
This commit is contained in:
Max Kellermann
2018-02-03 19:32:31 +01:00
parent e573cbf032
commit 12fd1cad0c
2 changed files with 7 additions and 0 deletions

View File

@@ -115,7 +115,12 @@ Iso9660ArchiveFile::Visit(char *path, size_t length, size_t capacity,
visitor.VisitArchiveEntry(path + 1);
}
}
#if LIBCDIO_VERSION_NUM >= 20000
iso9660_filelist_free(entlist);
#else
_cdio_list_free (entlist, true);
#endif
}
static ArchiveFile *