[Spice-devel] [PATCH 0/2] Add a new SPICE_MAGIC_CONST macro

Frediano Ziglio fziglio at redhat.com
Fri Aug 7 05:29:55 PDT 2015


This macro allows to define MAGIC constant without compiler
warnings or sub-optimizations.

Frediano Ziglio (2):
  Detects processor endianess using preprocessor
  Define and use new SPICE_MAGIC_CONST macro

 spice/Makefile.am         |  1 +
 spice/compiler.h          | 89 +++++++++++++++++++++++++++++++++++++++++++++++
 spice/controller_prot.h   |  2 +-
 spice/foreign_menu_prot.h |  2 +-
 spice/macros.h            |  7 ++++
 spice/protocol.h          |  2 +-
 spice/qxl_dev.h           |  4 +--
 spice/stats.h             |  2 +-
 spice/vdi_dev.h           |  2 +-
 9 files changed, 104 insertions(+), 7 deletions(-)
 create mode 100644 spice/compiler.h

-- 
2.1.0



More information about the Spice-devel mailing list