cmArchiveWrite: Preemptively adapt to future libarchive 4.0 changes
This commit is contained in:
parent
45cd9e6337
commit
87f1f363df
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue