summaryrefslogtreecommitdiffstats
path: root/Source/cmArchiveWrite.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-21 14:37:14 (GMT)
committerBrad King <brad.king@kitware.com>2015-10-28 12:44:48 (GMT)
commit87f1f363dfaf181854b81d84518ea57334edcc8f (patch)
treefa0c8040d3da9e0b2e4a92b47d7c6be5b7e58669 /Source/cmArchiveWrite.cxx
parent45cd9e63371ae09b6ad9dbc27ac4d36c19b357af (diff)
downloadCMake-87f1f363dfaf181854b81d84518ea57334edcc8f.zip
CMake-87f1f363dfaf181854b81d84518ea57334edcc8f.tar.gz
CMake-87f1f363dfaf181854b81d84518ea57334edcc8f.tar.bz2
cmArchiveWrite: Preemptively adapt to future libarchive 4.0 changes
Diffstat (limited to 'Source/cmArchiveWrite.cxx')
-rw-r--r--Source/cmArchiveWrite.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmArchiveWrite.cxx b/Source/cmArchiveWrite.cxx
index 7946950..e62a2ed 100644
--- a/Source/cmArchiveWrite.cxx
+++ b/Source/cmArchiveWrite.cxx
@@ -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)
{