cmArchiveWrite: Preemptively adapt to future libarchive 4.0 changes

This commit is contained in:
Brad King committed 2015-10-28 08:44:48 -04:00
1 parent 45cd9e6337
commit 87f1f363df
1 file changed
+4
+4
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)
{