marcandre.lur...@redhat.com writes: > From: Marc-André Lureau <marcandre.lur...@redhat.com> > > Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> > Reviewed-by: Thomas Huth <th...@redhat.com> > --- > tests/qtest/libqmp.h | 2 ++ > tests/qtest/libqmp.c | 35 +++++++++++++++++++++++++++++------ > 2 files changed, 31 insertions(+), 6 deletions(-) > > diff --git a/tests/qtest/libqmp.h b/tests/qtest/libqmp.h > index 94aa97328a17..772f18b73ba3 100644 > --- a/tests/qtest/libqmp.h > +++ b/tests/qtest/libqmp.h > @@ -20,8 +20,10 @@ > #include "qapi/qmp/qdict.h" > > QDict *qmp_fd_receive(int fd); > +#ifndef G_OS_WIN32
What's the difference between G_OS_WIN32 and _WIN32? We have 10 of the former, but >250 of the latter. If they are effectively the same, we should pick one and stick to it. [...]