qemu-e2k/include/ui
Pranith Kumar 2368635d39 clang: Fix warning reg. expansion to 'defined'
Clang produces the following warning. The warning is detailed here:
https://reviews.llvm.org/D15866. Fix the warning.

/home/pranith/devops/code/qemu/hw/display/qxl.c:507:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
    ^
/home/pranith/devops/code/qemu/include/ui/qemu-spice.h:46:5: note: expanded from macro 'SPICE_NEEDS_SET_MM_TIME'
  (!defined(SPICE_SERVER_VERSION) || (SPICE_SERVER_VERSION < 0xc06))
    ^
/home/pranith/devops/code/qemu/hw/display/qxl.c:1074:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
    ^
/home/pranith/devops/code/qemu/include/ui/qemu-spice.h:46:5: note: expanded from macro 'SPICE_NEEDS_SET_MM_TIME'
  (!defined(SPICE_SERVER_VERSION) || (SPICE_SERVER_VERSION < 0xc06))

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-08-09 22:57:36 +02:00
..
console.h virgl: pass whole GL scanout dimensions 2016-07-06 10:32:14 +02:00
egl-context.h opengl: add egl-context.[ch] helpers 2015-10-08 10:34:53 +02:00
egl-helpers.h egl-helpers: add functions for render nodes and dma-buf passing 2016-02-23 12:04:39 +01:00
gtk.h gtk: fix build 2016-07-11 10:40:29 +01:00
input.h input: linux evdev support 2016-03-08 12:20:11 +01:00
pixel_ops.h ui: move files to ui/ and include/ui/ 2012-12-19 08:31:30 +01:00
qemu-pixman.h Use scripts/clean-includes to drop redundant qemu/typedefs.h 2016-03-22 22:20:16 +01:00
qemu-spice.h clang: Fix warning reg. expansion to 'defined' 2016-08-09 22:57:36 +02:00
sdl2.h virgl: pass whole GL scanout dimensions 2016-07-06 10:32:14 +02:00
shader.h shaders: initialize vertexes once 2015-10-08 10:31:35 +02:00
spice-display.h spice/gl: add & use qemu_spice_gl_monitor_config 2016-05-12 16:41:46 +02:00