gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r23988 - Extractor/src/plugins


From: gnunet
Subject: [GNUnet-SVN] r23988 - Extractor/src/plugins
Date: Tue, 25 Sep 2012 10:58:34 +0200

Author: grothoff
Date: 2012-09-25 10:58:34 +0200 (Tue, 25 Sep 2012)
New Revision: 23988

Modified:
   Extractor/src/plugins/archive_extractor.c
Log:
make work with older libarchive versions

Modified: Extractor/src/plugins/archive_extractor.c
===================================================================
--- Extractor/src/plugins/archive_extractor.c   2012-09-25 08:52:38 UTC (rev 
23987)
+++ Extractor/src/plugins/archive_extractor.c   2012-09-25 08:58:34 UTC (rev 
23988)
@@ -51,6 +51,18 @@
 
 
 /**
+ * Older versions of libarchive do not define __LA_INT64_T.
+ */
+#if ARCHIVE_VERSION_NUMBER < 2000000
+#define __LA_INT64_T size_t
+#else
+#ifndef __LA_INT64_T
+#define __LA_INT64_T int64_t
+#endif
+#endif
+
+
+/**
  * Callback for libarchive for 'skipping'.
  *
  * @param a archive handle




reply via email to

[Prev in Thread] Current Thread [Next in Thread]