[Spice-devel] [PATCH 1/2] Detects processor endianess using preprocessor

Frediano Ziglio fziglio at redhat.com
Mon Aug 10 05:07:35 PDT 2015


> 
> Hey,
> 
> On Fri, Aug 07, 2015 at 01:29:56PM +0100, Frediano Ziglio wrote:
> > This allow to define macros based on endianess in public headers
> > 
> > Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> > ---
> >  spice/Makefile.am |  1 +
> >  spice/compiler.h  | 89
> >  +++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> I would add this code directly to macros.h as it already has all the
> compiler specific code.
> 
> Christophe
> 

Make sense

Frediano


More information about the Spice-devel mailing list