ia64/xen-unstable

changeset 17110:cd06c0c1bfff

ioemu: Fix Solaris build.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Feb 25 09:09:01 2008 +0000 (2008-02-25)
parents 5adc98ae6861
children 89ee92328720
files tools/ioemu/osdep.c
line diff
     1.1 --- a/tools/ioemu/osdep.c	Mon Feb 25 09:07:24 2008 +0000
     1.2 +++ b/tools/ioemu/osdep.c	Mon Feb 25 09:09:01 2008 +0000
     1.3 @@ -178,7 +178,7 @@ void kqemu_vfree(void *ptr)
     1.4  
     1.5  void *qemu_memalign(size_t alignment, size_t size)
     1.6  {
     1.7 -#if defined(_POSIX_C_SOURCE)
     1.8 +#if defined(_POSIX_C_SOURCE) && !defined(__sun__)
     1.9      int ret;
    1.10      void *ptr;
    1.11      ret = posix_memalign(&ptr, alignment, size);