From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:50349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsHD4-0007JH-1W for qemu-devel@nongnu.org; Mon, 07 Jan 2013 13:14:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TsHD2-0005Qv-6y for qemu-devel@nongnu.org; Mon, 07 Jan 2013 13:14:05 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsHD2-0005QY-0a for qemu-devel@nongnu.org; Mon, 07 Jan 2013 13:14:04 -0500 Message-ID: <50EB1068.6070600@redhat.com> Date: Mon, 07 Jan 2013 16:14:00 -0200 From: Lucas Meneghel Rodrigues MIME-Version: 1.0 References: <1357336668-15518-1-git-send-email-sw@weilnetz.de> <50EA88B7.8000607@redhat.com> <50EB0303.8060402@weilnetz.de> In-Reply-To: <50EB0303.8060402@weilnetz.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] hw/i386: Fix broken build for MinGW List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Anthony Liguori , Marcelo Tosatti , Gerd Hoffmann , qemu-devel@nongnu.org On 01/07/2013 03:16 PM, Stefan Weil wrote: > Am 07.01.2013 09:35, schrieb Gerd Hoffmann: >> On 01/04/13 22:57, Stefan Weil wrote: >>> pc-testdev.c cannot be compiled with MinGW: >>> >>> CC i386-softmmu/hw/i386/../pc-testdev.o >>> hw/i386/../pc-testdev.c:38:22: warning: sys/mman.h: file not found >>> hw/i386/../pc-testdev.c: In function =E2=80=98test_flush_page=E2=80=99= : >>> hw/i386/../pc-testdev.c:103: warning: implicit declaration of >>> function =E2=80=98mprotect=E2=80=99 >>> ... >> >>> +obj-$(CONFIG_KVM) +=3D pc-testdev.o >> >> CONFIG_POSIX is the better choice I think. >> >> cheers, >> Gerd > > I agree. > > This patch was superseded by a newer one which indeed uses > CONFIG_POSIX and was applied by Blue, see > > http://patchwork.ozlabs.org/patch/209653/ > > Cheers, > Stefan Ok, sorry about that, guys, and thanks for fixing things. Lucas