This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [xen-unstable] ioemu: Fix Solaris build.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] ioemu: Fix Solaris build.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 25 Feb 2008 05:10:09 -0800
Delivery-date: Mon, 25 Feb 2008 05:10:06 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1203930541 0
# Node ID cd06c0c1bfff8a8ad2eb28e5571c2299f1329b3e
# Parent  5adc98ae6861fc8b165ad75ce898c4ab3e149f3d
ioemu: Fix Solaris build.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
 tools/ioemu/osdep.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 5adc98ae6861 -r cd06c0c1bfff tools/ioemu/osdep.c
--- a/tools/ioemu/osdep.c       Mon Feb 25 09:07:24 2008 +0000
+++ b/tools/ioemu/osdep.c       Mon Feb 25 09:09:01 2008 +0000
@@ -178,7 +178,7 @@ void kqemu_vfree(void *ptr)
 void *qemu_memalign(size_t alignment, size_t size)
-#if defined(_POSIX_C_SOURCE)
+#if defined(_POSIX_C_SOURCE) && !defined(__sun__)
     int ret;
     void *ptr;
     ret = posix_memalign(&ptr, alignment, size);

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] ioemu: Fix Solaris build., Xen patchbot-unstable <=