[cairo] Please fix SSIZE_T definition on win32

Martin Schlemmer Martin.Schlemmer at nwu.ac.za
Thu Aug 15 03:32:12 PDT 2013


>>> 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 



More information about the cairo mailing list