cmArchiveWrite: Preemptively adapt to future libarchive 4.0 changes

This commit is contained in:
Brad King 2015-10-21 10:37:14 -04:00
parent 45cd9e6337
commit 87f1f363df
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,10 @@
#include <cm_libarchive.h>
#include "cm_get_date.h"
#ifndef __LA_SSIZE_T
# define __LA_SSIZE_T la_ssize_t
#endif
//----------------------------------------------------------------------------
static std::string cm_archive_error_string(struct archive* a)
{