summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-21 14:56:09 (GMT)
committerBrad King <brad.king@kitware.com>2015-10-28 12:44:48 (GMT)
commitb272a656552682e4042a65089703d6f78043ff18 (patch)
treeec3588a3740cc73bdb64b7144314b005a97ca5ce /Source/cmSystemTools.cxx
parent87f1f363dfaf181854b81d84518ea57334edcc8f (diff)
downloadCMake-b272a656552682e4042a65089703d6f78043ff18.zip
CMake-b272a656552682e4042a65089703d6f78043ff18.tar.gz
CMake-b272a656552682e4042a65089703d6f78043ff18.tar.bz2
cmSystemTools: Preemptively adapt to future libarchive 4.0 changes
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 2c5aa8a..b2827dc 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -29,6 +29,9 @@
# include "cmArchiveWrite.h"
# include "cmLocale.h"
# include <cm_libarchive.h>
+# ifndef __LA_INT64_T
+# define __LA_INT64_T la_int64_t
+# endif
#endif
#include <cmsys/FStream.hxx>
#include <cmsys/Terminal.h>