]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix build with mingwrt 3.20.
authorTim Kientzle <kientzle@gmail.com>
Sat, 27 Aug 2011 19:07:35 +0000 (15:07 -0400)
committerTim Kientzle <kientzle@gmail.com>
Sat, 27 Aug 2011 19:07:35 +0000 (15:07 -0400)
SVN-Revision: 3649

libarchive/archive.h

index d2cbaeddd6989d878a1dc25888a3ffd21a106169..ab4dfb533672746720d7d479d8dde5a9a50fa198 100644 (file)
@@ -48,7 +48,7 @@
 /* These should match the types used in 'struct stat' */
 #if defined(_WIN32) && !defined(__CYGWIN__)
 # define       __LA_INT64_T    __int64
-# if defined(_SSIZE_T_DEFINED)
+# if defined(_SSIZE_T_DEFINED) || defined(_SSIZE_T_)
 #  define      __LA_SSIZE_T    ssize_t
 # elif defined(_WIN64)
 #  define      __LA_SSIZE_T    __int64