[PATCH 0/2] Add a new SPICE_MAGIC_CONST macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]