Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GHmsK-0007je-Uh for qemu-devel@nongnu.org; Mon, 28 Aug 2006 15:34:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GHmsJ-0007jQ-3L for qemu-devel@nongnu.org; Mon, 28 Aug 2006 15:34:24 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GHmsI-0007jN-Ug for qemu-devel@nongnu.org; Mon, 28 Aug 2006 15:34:22 -0400 Received: from [68.142.201.64] (helo=web30911.mail.mud.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.52) id 1GHn1J-0007So-Oo for qemu-devel@nongnu.org; Mon, 28 Aug 2006 15:43:41 -0400 Message-ID: <20060828193421.14111.qmail@web30911.mail.mud.yahoo.com> Date: Mon, 28 Aug 2006 12:34:21 -0700 (PDT) From: Eric Lowe Subject: Re: [Qemu-devel] ENOMEDIUM OS X patch In-Reply-To: <5e7b45b4cf51fac28f28fe90147e19e8@soe.ucsc.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Reply-To: elowe8@yahoo.com, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 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.h 19 Aug 2006 12:37:52 -0000 > 1.144 > +++ vl.h 28 Aug 2006 15:44:08 -0000 > @@ -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