]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
On Linux, the example code requires _FILE_OFFSET_BITS.
authorTim Kientzle <kientzle@gmail.com>
Mon, 12 Oct 2009 00:26:08 +0000 (20:26 -0400)
committerTim Kientzle <kientzle@gmail.com>
Mon, 12 Oct 2009 00:26:08 +0000 (20:26 -0400)
SVN-Revision: 1507

libarchive/archive_write.3

index 9f42b935376440e4593236be69926aa5ab9dcc26..d8462ce2684082514801d72dffa046e9d69eda9e 100644 (file)
@@ -453,6 +453,9 @@ and
 .Xr close 2
 system calls.
 .Bd -literal -offset indent
+#ifdef __linux__
+#define        _FILE_OFFSET_BITS 64
+#endif
 #include <sys/stat.h>
 #include <archive.h>
 #include <archive_entry.h>