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

2013-01-07 Thread Lucas Meneghel Rodrigues
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: CCi386-softmmu/hw/i386/../pc-testdev.o hw/i386/../pc-testdev.c:38:22: warning: sys/mman.h: file not found hw/i386/../p

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

2013-01-07 Thread Stefan Weil
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: CCi386-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’:

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

2013-01-07 Thread Gerd Hoffmann
On 01/04/13 22:57, Stefan Weil wrote: > pc-testdev.c cannot be compiled with MinGW: > > CCi386-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

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

2013-01-04 Thread Stefan Weil
pc-testdev.c cannot be compiled with MinGW: CCi386-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’ ...