]> git.pld-linux.org Git - packages/crossmingw32-gtk+2.git/commitdiff
- fix build with current mingw32/w32api
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 8 Mar 2007 12:44:38 +0000 (12:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    crossmingw32-gtk+2-w32api.patch -> 1.1

crossmingw32-gtk+2-w32api.patch [new file with mode: 0644]

diff --git a/crossmingw32-gtk+2-w32api.patch b/crossmingw32-gtk+2-w32api.patch
new file mode 100644 (file)
index 0000000..398ed6e
--- /dev/null
@@ -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; 
This page took 0.094286 seconds and 4 git commands to generate.