summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/archive.h
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2009-03-03 17:02:51 +0000
committerkientzle <kientzle@FreeBSD.org>2009-03-03 17:02:51 +0000
commit8fc5e74eab7c5235eef741a5e99412c1c314b9c6 (patch)
tree1dee8b4b9c023077ab174a6dc9ffbb460e86b36b /lib/libarchive/archive.h
parent534d3efa16fa0651c5b97d3d506ddce25334a6d9 (diff)
downloadFreeBSD-src-8fc5e74eab7c5235eef741a5e99412c1c314b9c6.zip
FreeBSD-src-8fc5e74eab7c5235eef741a5e99412c1c314b9c6.tar.gz
Merge r294:337,r348:350 from libarchive.googlecode.com: A lot
of work to make libarchive work on Windows.
Diffstat (limited to 'lib/libarchive/archive.h')
-rw-r--r--lib/libarchive/archive.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libarchive/archive.h b/lib/libarchive/archive.h
index 0194a5d..cfc3197 100644
--- a/lib/libarchive/archive.h
+++ b/lib/libarchive/archive.h
@@ -47,7 +47,11 @@
/* These should match the types used in 'struct stat' */
#ifdef _WIN32
#define __LA_INT64_T __int64
-#define __LA_SSIZE_T long
+# if defined(_WIN64)
+# define __LA_SSIZE_T __int64
+# else
+# define __LA_SSIZE_T long
+# endif
#define __LA_UID_T unsigned int
#define __LA_GID_T unsigned int
#else
OpenPOWER on IntegriCloud