qemu/include
Daniel P. Berrange c8f3f17cf1 gtk: avoid redefining _WIN32_WINNT macro
When building for Mingw64 target on Fedora 22 a warning
is issued about _WIN32_WINNT being redefined.

In file included from ui/gtk.c:40:0:
include/ui/gtk.h:5:0: warning: "_WIN32_WINNT" redefined
 # define _WIN32_WINNT 0x0601 /* needed to get definition of MAPVK_VK_TO_VSC */
  ^
In file included from /usr/i686-w64-mingw32/sys-root/mingw/include/crtdefs.h:10:0,
                 from /usr/i686-w64-mingw32/sys-root/mingw/include/stdio.h:9,
                 from /home/berrange/src/virt/qemu/include/qemu/fprintf-fn.h:12,
                 from /home/berrange/src/virt/qemu/include/qemu-common.h:18,
                 from ui/gtk.c:37:
/usr/i686-w64-mingw32/sys-root/mingw/include/_mingw.h:225:0: note: this is the location of the previous definition
 #define _WIN32_WINNT 0x502
 ^

Rather than try to get MAPVK_VK_TO_VSC defined indirectly
by defining _WIN32_WINNT, instead just define it explicitly
if missing.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
2015-09-24 20:52:28 +02:00
..
block block: Allow specifying driver-specific options to reopen 2015-09-14 16:51:36 +02:00
crypto crypto: introduce new module for handling TLS sessions 2015-09-15 15:07:43 +01:00
disas disas: Add print_insn to disassemble info 2015-07-09 15:20:40 +02:00
exec include/exec: Move cputlb exec.c defs out 2015-09-16 17:33:33 +02:00
fpu softfloat: expand out STATUS macro 2015-02-06 16:11:38 +00:00
hw hw/arm/virt: Add gic-version option to virt machine 2015-09-24 01:29:37 +01:00
libdecnumber Fix new typos in comments (found by codespell) 2014-07-18 17:45:36 +04:00
migration migration: Fix global state with Xen. 2015-08-03 16:13:23 +00:00
monitor qom: Don't use 'gen': false for qom-get, qom-set, object-add 2015-09-21 09:56:49 +02:00
net qmp: Wean off qerror_report() 2015-06-22 18:20:40 +02:00
qapi qapi: Introduce a first class 'any' type 2015-09-21 09:56:49 +02:00
qemu qemu-thread: add a fast path to the Win32 QemuEvent 2015-09-24 20:52:28 +02:00
qom cpu: Add crash_occurred flag into CPUState 2015-09-16 17:33:32 +02:00
standard-headers target-i386: move asm-x86/hyperv.h to standard-headers 2015-09-16 17:33:32 +02:00
sysemu intc/gic: Extract some reusable vGIC code 2015-09-24 01:29:36 +01:00
ui gtk: avoid redefining _WIN32_WINNT macro 2015-09-24 20:52:28 +02:00
config.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
elf.h linux-user: Support tilegx architecture in linux-user 2015-09-15 07:41:19 -07:00
glib-compat.h glib: remove stale compat functions 2015-05-22 15:58:06 -04:00
qemu-common.h * Support for jemalloc 2015-09-14 16:13:16 +01:00
qemu-io.h qemu-io: Use BlockBackend 2015-02-16 15:07:19 +00:00
qjson.h QJSON: Add JSON writer 2015-02-05 17:16:14 +01:00
trace-tcg.h trace: [tcg] Generate TCG tracing routines 2014-08-12 14:26:12 +01:00
trace.h trace: [tcg] Include event definitions in "trace.h" 2014-08-12 14:26:12 +01:00