Re: Please fix SSIZE_T definition on win32

"Martin Schlemmer" <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
>>> On 8/12/2013 at  2:26 PM, "ninja" <[email protected]> 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
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.