[Qemu-devel] ENOMEDIUM OS X patch
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_COCOA +#define ENOMEDIUM 4097 +#endif + #ifndef glue #define xglue(x, y) x ## y #define glue(x, y) xglue(x, y) -- All men dream, but only that dream during the daytime are the dangerous. - T. E. Lawrence ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] ENOMEDIUM OS X patch
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 +#define ENOMEDIUM 4097 +#endif Pierre. ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] ENOMEDIUM OS X patch
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 (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_COCOA +#define ENOMEDIUM 4097 +#endif + #ifndef glue #define xglue(x, y) x ## y #define glue(x, y) xglue(x, y) -- All men dream, but only that dream during the daytime are the dangerous. - T. E. Lawrence ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] ENOMEDIUM OS X patch
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 the BSDs define it either. At least not FreeBSD nor OpenBSD. It isn't suprising then that OS X doesn't define it. It wasn't in BSD 4.4-lite. Warner ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel