Re: [PATCH] util: fix to check if target OS is linux in util/mmap-alloc.c

2020-03-06 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20200306120735.24457-1-jingqi@intel.com/ Hi, This series failed the docker-mingw@fedora build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT BEGIN ==

Re: [PATCH] util: fix to check if target OS is linux in util/mmap-alloc.c

2020-03-06 Thread Liu, Jingqi
On 3/6/2020 8:14 PM, Peter Maydell wrote: On Fri, 6 Mar 2020 at 12:12, Jingqi Liu wrote: The CONFIG_LINUX symbol is always undefined before including "qemu/osdep.h". Use __linux__ to check if target OS is linux instead of CONFIG_LINUX. Signed-off-by: Jingqi Liu --- util/mmap-alloc.c | 6 +++

Re: [PATCH] util: fix to check if target OS is linux in util/mmap-alloc.c

2020-03-06 Thread Peter Maydell
On Fri, 6 Mar 2020 at 12:12, Jingqi Liu wrote: > > The CONFIG_LINUX symbol is always undefined before including "qemu/osdep.h". > Use __linux__ to check if target OS is linux instead of CONFIG_LINUX. > > Signed-off-by: Jingqi Liu > --- > util/mmap-alloc.c | 6 +++--- > 1 file changed, 3 insertio

[PATCH] util: fix to check if target OS is linux in util/mmap-alloc.c

2020-03-06 Thread Jingqi Liu
The CONFIG_LINUX symbol is always undefined before including "qemu/osdep.h". Use __linux__ to check if target OS is linux instead of CONFIG_LINUX. Signed-off-by: Jingqi Liu --- util/mmap-alloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/util/mmap-alloc.c b/util/mm