#include "config.h"
-#define _WIN32_WINNT 0x0600
#define VK_USE_PLATFORM_WIN32_KHR
#include "gdk.h"
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
-#if defined (_WIN32_WINNT) && WIN32_WINNT < 0x0601
-# undef _WIN32_WINNT
-
-# define _WIN32_WINNT 0x0601
-# ifdef WINVER
-# undef WINVER
-# endif
-# define WINVER _WIN32_WINNT
-#elif !defined (_WIN32_WINNT)
-# define _WIN32_WINNT 0x0601
-# ifdef WINVER
-# undef WINVER
-# endif
-# define WINVER _WIN32_WINNT
-#endif
-
#include "config.h"
#include "gdkprivate-win32.h"
#ifndef __GDK_PRIVATE_WIN32_H__
#define __GDK_PRIVATE_WIN32_H__
-#ifndef WINVER
-/* Vista or newer */
-#define WINVER 0x0600
-#endif
-
-#ifndef _WIN32_WINNT
-#define _WIN32_WINNT WINVER
-#endif
-
#include <gdk/gdkcursorprivate.h>
#include <gdk/win32/gdksurface-win32.h>
#include <gdk/win32/gdkwin32display.h>
#include "config.h"
-#define _WIN32_WINNT 0x0600
-
#include "gdk.h"
#include "gdkprivate-win32.h"
#include "gdkwin32screen.h"
'-DGTK_COMPILATION',
'-DG_LOG_DOMAIN="Gdk"',
'-DINSIDE_GDK_WIN32',
+ '-D_WIN32_WINNT=0x0601',
+ '-DWINVER=0x0601',
] + GDK_WIN32_EGL_CFLAGS,
dependencies: [ gdk_deps, gdk_win32_deps ],
)