qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] bswap.h: build fix


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] bswap.h: build fix
Date: Fri, 16 Sep 2011 09:44:23 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110516 Lightning/1.0b2 Thunderbird/3.1.10

On 09/13/2011 08:12 AM, Christoph Egger wrote:

qemu build fails when CONFIG_MACHINE_BSWAP_H is defined
because float32, float64, etc. are not defined.
This makes qemu build.

Signed-off-by: Christoph Egger <address@hidden>


Applied.  Thanks.

Regards,

Anthony Liguori



diff --git a/bswap.h b/bswap.h
index f41bebe..cc7f84d 100644
--- a/bswap.h
+++ b/bswap.h
@@ -4,6 +4,7 @@
#include "config-host.h"

#include <inttypes.h>
+#include "softfloat.h"

#ifdef CONFIG_MACHINE_BSWAP_H
#include <sys/endian.h>
@@ -11,8 +12,6 @@
#include <machine/bswap.h>
#else

-#include "softfloat.h"
-
#ifdef CONFIG_BYTESWAP_H
#include <byteswap.h>
#else







reply via email to

[Prev in Thread] Current Thread [Next in Thread]