[cairo] Please fix SSIZE_T definition on win32

Bryce W. Harrington b.harrington at samsung.com
Tue Oct 29 23:04:51 CET 2013


I don't use windows, but looks obviously correct to me.
I'll commit it if no one else raises an objection.

Reviewed-by: Bryce Harrington <b.harrington at samsung.com>

On Thu, Aug 15, 2013 at 12:32:12PM +0200, Martin Schlemmer wrote:
> >>> On 8/12/2013 at  2:26 PM, "ninja" <baininja at gmail.com> wrote:
> > Hello,
> > 
> >   I downloaded the version 1.12.14,and still met this problem while
> > making.with MSYS on Windows7.
> > 
> > Just wonder if I missed something when configuring.
> > 
> 
> I use below.
> 
> 
> Regards,
> Martin
> 
> ----------------------
> --- cairo-1.12.2/util/cairo-missing/cairo-missing.h	2012-05-30 18:43:00 +0200
> +++ cairo-1.12.2.az/util/cairo-missing/cairo-missing.h	2012-05-30 18:43:16 +0200
> @@ -41,7 +41,7 @@
>  #define WIN32_LEAN_AND_MEAN
>  #include <windows.h>
>  
> -#ifndef _SSIZE_T_DEFINED
> +#if !defined(_SSIZE_T_DEFINED) && !defined(_SSIZE_T_)
>  typedef SSIZE_T ssize_t;
>  #endif
>  #endif
> 
> 
> 
> 
> 
> Vrywaringsklousule / Disclaimer:  http://www.nwu.ac.za/it/gov-man/disclaimer.html 
> 
> -- 
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo


More information about the cairo mailing list