From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BbaKZ-0002Fz-NZ for qemu-devel@nongnu.org; Sat, 19 Jun 2004 03:32:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BbaKW-0002Fn-Tn for qemu-devel@nongnu.org; Sat, 19 Jun 2004 03:32:03 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BbaKW-0002Fj-R2 for qemu-devel@nongnu.org; Sat, 19 Jun 2004 03:32:00 -0400 Received: from [195.9.147.9] (helo=dionis.simtreas.ru) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BbaIj-0007Hq-UA for qemu-devel@nongnu.org; Sat, 19 Jun 2004 03:30:10 -0400 Message-ID: <40D3EC45.4040307@simtreas.ru> Date: Sat, 19 Jun 2004 11:33:25 +0400 From: "Vladimir N. Oleynik" MIME-Version: 1.0 Subject: Re: [Qemu-devel] Errors compiling QEMU with Mingw References: <200406181841.i5IIfZQa019337@treas.simtreas.ru> In-Reply-To: <200406181841.i5IIfZQa019337@treas.simtreas.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: 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, navaraf@reactos.com Filip, > Hi! I sent a patch for this few days ago. It's attached... > +#ifndef _WIN32 > extern FILE *stdout; > +#else > +struct FILE { int opaque; }; > +extern FILE (*_imp___iob)[]; > +#define _iob (*_imp___iob) > +#define stdout (&_iob[1]) > +#endif But in fact this very dirty correction. May be #include is more true. --w vodz