summaryrefslogtreecommitdiff
path: root/libarchive/test/test_read_format_gtar_sparse.c
diff options
context:
space:
mode:
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>2010-02-24 03:22:26 -0500
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>2010-02-24 03:22:26 -0500
commitf40faa6edb2c38e90bedd36148e6828806fa31b4 (patch)
treec62dc36f56fb25371ec1e402278354ea1aee4809 /libarchive/test/test_read_format_gtar_sparse.c
parent96b3cfd3fe092413846ae649e4a8f47c4dcb1b73 (diff)
downloadlibarchive-f40faa6edb2c38e90bedd36148e6828806fa31b4.tar.gz
Unbreak build on mingw.
SVN-Revision: 1971
Diffstat (limited to 'libarchive/test/test_read_format_gtar_sparse.c')
-rw-r--r--libarchive/test/test_read_format_gtar_sparse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libarchive/test/test_read_format_gtar_sparse.c b/libarchive/test/test_read_format_gtar_sparse.c
index 8ac59467..003771df 100644
--- a/libarchive/test/test_read_format_gtar_sparse.c
+++ b/libarchive/test/test_read_format_gtar_sparse.c
@@ -27,7 +27,11 @@ __FBSDID("$FreeBSD: head/lib/libarchive/test/test_read_format_gtar_sparse.c 1893
struct contents {
+#if ARCHIVE_VERSION_NUMBER < 3000000
off_t o;
+#else
+ int64_t o;
+#endif
size_t s;
const char *d;
};