Re: [Qemu-devel] ENOMEDIUM OS X patch

2006-08-28 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Eric Lowe <[EMAIL PROTECTED]> writes: : Yes you are correct Solaris does not define this : either, and I doubt other *nix systems do. : : Can this just be changed to : : #ifndef ENOMEDIUM : #define ENOMEDIUM blahblah : #endif : : or somesuch? None of

Re: [Qemu-devel] ENOMEDIUM OS X patch

2006-08-28 Thread Eric Lowe
Yes you are correct Solaris does not define this either, and I doubt other *nix systems do. Can this just be changed to #ifndef ENOMEDIUM #define ENOMEDIUM blahblah #endif or somesuch? - Eric --- Jose Renau <[EMAIL PROTECTED]> wrote: > > OS X does not include ENOMEDIUM on the error list >

Re: [Qemu-devel] ENOMEDIUM OS X patch

2006-08-28 Thread Pierre d'Herbemont
On Aug 28, 2006, at 5:45 PM, Jose Renau wrote: OS X does not include ENOMEDIUM on the error list (I think that the same is true for Solaris). This patch solves the problem. so this would be more appropriate: +#ifndef ENOMEDIUM +#define ENOMEDIUM 4097 +#endif than: +#ifdef CONFIG_COCOA +

[Qemu-devel] ENOMEDIUM OS X patch

2006-08-28 Thread Jose Renau
OS X does not include ENOMEDIUM on the error list (I think that the same is true for Solaris). This patch solves the problem. --- vl.h19 Aug 2006 12:37:52 - 1.144 +++ vl.h28 Aug 2006 15:44:08 - @@ -84,6 +84,10 @@ #endif /* !defined(QEMU_TOOL) */ +#ifdef CONFIG_