Author: qboosh                       Date: Thu Mar  8 12:44:43 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix build with current mingw32/w32api

---- Files affected:
SOURCES:
   crossmingw32-gtk+2-w32api.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/crossmingw32-gtk+2-w32api.patch
diff -u /dev/null SOURCES/crossmingw32-gtk+2-w32api.patch:1.1
--- /dev/null   Thu Mar  8 13:44:43 2007
+++ SOURCES/crossmingw32-gtk+2-w32api.patch     Thu Mar  8 13:44:38 2007
@@ -0,0 +1,16 @@
+--- gtk+-2.10.9/gdk/win32/gdkcursor-win32.c.orig       2007-01-22 
16:59:17.000000000 +0100
++++ gtk+-2.10.9/gdk/win32/gdkcursor-win32.c    2007-03-08 11:18:25.259002577 
+0100
+@@ -27,7 +27,12 @@
+ 
+ #include "xcursors.h"
+ 
+-#if defined(__MINGW32__) || (defined(_MSC_VER) && (WINVER < 0x0500))
++#ifdef __MINGW32__
++/* get w32api version */
++#include <w32api.h>
++#endif
++
++#if (defined(__MINGW32__) && (__W32API_MAJOR_VERSION < 3 || 
__W32API_MINOR_VERSION < 8)) || (defined(_MSC_VER) && (WINVER < 0x0500))
+ typedef struct { 
+   DWORD        bV5Size; 
+   LONG         bV5Width; 
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to