qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] hw/i386: Fix broken build for MinGW


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH] hw/i386: Fix broken build for MinGW
Date: Mon, 07 Jan 2013 09:35:03 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121116 Thunderbird/10.0.11

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 ‘test_flush_page’:
> hw/i386/../pc-testdev.c:103: warning: implicit declaration of function 
> ‘mprotect’
> ...

> +obj-$(CONFIG_KVM) += pc-testdev.o

CONFIG_POSIX is the better choice I think.

cheers,
  Gerd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]