diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-05-25 16:41:28 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-05-28 11:42:56 +0200 |
commit | 56b6dab2743b276a50036cd0a115e98cb1134f38 (patch) | |
tree | 72a4a89857d5ea9bc48572e2271442668554bd2a /tests/qtest/libqmp.h | |
parent | 49e0128c483aa4a49860210ea51e00523ec26aaa (diff) |
tests: make libqmp buildable for win32
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220525144140.591926-4-marcandre.lureau@redhat.com>
Diffstat (limited to 'tests/qtest/libqmp.h')
-rw-r--r-- | tests/qtest/libqmp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/qtest/libqmp.h b/tests/qtest/libqmp.h index 5cb7eeaa18..3445b753ff 100644 --- a/tests/qtest/libqmp.h +++ b/tests/qtest/libqmp.h @@ -21,8 +21,10 @@ #include "qapi/qmp/qdict.h" QDict *qmp_fd_receive(int fd); +#ifndef _WIN32 void qmp_fd_vsend_fds(int fd, int *fds, size_t fds_num, const char *fmt, va_list ap) G_GNUC_PRINTF(4, 0); +#endif void qmp_fd_vsend(int fd, const char *fmt, va_list ap) G_GNUC_PRINTF(2, 0); void qmp_fd_send(int fd, const char *fmt, ...) G_GNUC_PRINTF(2, 3); void qmp_fd_send_raw(int fd, const char *fmt, ...) G_GNUC_PRINTF(2, 3); |