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

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



# 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
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.