diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2016-11-11 21:03:46 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2016-11-11 21:06:01 +0800 |
commit | fcd216a409232b9e29cb6ebfb15b9e01edca2078 (patch) | |
tree | de80cb056600d6e4b9a9ae5088415e6bba89e8b9 /gdk/win32 | |
parent | 718efc2f591cdd4bdf1f4bafb24f71e643ba320c (diff) | |
download | gtk+-fcd216a409232b9e29cb6ebfb15b9e01edca2078.tar.gz |
gdkscreen-win32.c: Also define _WIN32_WINNT
As in the last commit on gdkdisplay-win32.c, we need to define that to be
0x0600 (Vista) or later so that the items needed in the Windows headers be
activated.
See: https://bugzilla.gnome.org/show_bug.cgi?id=768081#c62
Diffstat (limited to 'gdk/win32')
-rw-r--r-- | gdk/win32/gdkscreen-win32.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/win32/gdkscreen-win32.c b/gdk/win32/gdkscreen-win32.c index 47f0168a1a..63a6cf7b12 100644 --- a/gdk/win32/gdkscreen-win32.c +++ b/gdk/win32/gdkscreen-win32.c @@ -16,6 +16,9 @@ */ #include "config.h" + +#define _WIN32_WINNT 0x0600 + #include "gdk.h" #include "gdkprivate-win32.h" #include "gdkscreenprivate.h" |