On 9/16/2011 4:35 PM, Brad King wrote:
> Try this patch:
> 
> diff --git a/Utilities/cmlibarchive/libarchive/archive.h 
> b/Utilities/cmlibarchive/libarchive/archive.h
> index 9b918a8..b2bb829 100644
> --- a/Utilities/cmlibarchive/libarchive/archive.h
> +++ b/Utilities/cmlibarchive/libarchive/archive.h
> @@ -52,7 +52,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_) && 
> !defined(_NO_OLDNAMES))
>  #  define __LA_SSIZE_T ssize_t
>  # elif defined(_WIN64)

As expected upstream libarchive already fixed this:

http://code.google.com/p/libarchive/source/detail?r=3649

-Brad
_______________________________________________
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to