summaryrefslogtreecommitdiff
path: root/gdk/win32/gdkcursor-win32.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2007-02-04 00:19:53 +0000
committerTor Lillqvist <tml@src.gnome.org>2007-02-04 00:19:53 +0000
commite11c63d5179de3d5112976691a3460672c033169 (patch)
tree5141edc23a54caf7dfb84e75dd54bf1ebcb27b8d /gdk/win32/gdkcursor-win32.c
parent8f1eff60dd9cfc71df8ad482ba588b38d4052c6d (diff)
downloadgtk+-e11c63d5179de3d5112976691a3460672c033169.tar.gz
Don't define BITMAPV5HEADER on mingw with w32api >= 3.8, which has it in
2007-02-04 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on mingw with w32api >= 3.8, which has it in wingdi.h. (#403896) svn path=/trunk/; revision=17256
Diffstat (limited to 'gdk/win32/gdkcursor-win32.c')
-rw-r--r--gdk/win32/gdkcursor-win32.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdk/win32/gdkcursor-win32.c b/gdk/win32/gdkcursor-win32.c
index a0e702e5c6..28151f93c3 100644
--- a/gdk/win32/gdkcursor-win32.c
+++ b/gdk/win32/gdkcursor-win32.c
@@ -25,9 +25,13 @@
#include "gdkcursor.h"
#include "gdkprivate-win32.h"
+#ifdef __MINGW32__
+#include <w32api.h>
+#endif
+
#include "xcursors.h"
-#if defined(__MINGW32__) || (defined(_MSC_VER) && (WINVER < 0x0500))
+#if (defined(__MINGW32__) && __W32API_MAJOR_VERSION <= 3 && __W32API_MINOR_VERSION < 8) || (defined(_MSC_VER) && (WINVER < 0x0500))
typedef struct {
DWORD bV5Size;
LONG bV5Width;