|
| From: | Vladimir N. Oleynik |
| Subject: | Re: [Qemu-devel] Errors compiling QEMU with Mingw |
| Date: | Sat, 19 Jun 2004 11:33:25 +0400 |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040117 |
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 <stdio.h>
is more true.
--w
vodz
| [Prev in Thread] | Current Thread | [Next in Thread] |