aboutsummaryrefslogtreecommitdiff
path: root/qga/commands-win32.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-02-02 10:19:04 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2022-02-21 10:35:54 +0100
commitb7e4ab15c37424aac14a3492662fa26364269eb4 (patch)
tree270b6335cce1f899431b6e58457c706d70a393a4 /qga/commands-win32.c
parente23460ce921168b4172af83043e87ca9bd85e43b (diff)
downloadqemu-b7e4ab15c37424aac14a3492662fa26364269eb4.zip
qemu-b7e4ab15c37424aac14a3492662fa26364269eb4.tar.gz
qemu-b7e4ab15c37424aac14a3492662fa26364269eb4.tar.bz2
meson, configure: move ntddscsi API check to meson
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qga/commands-win32.c')
-rw-r--r--qga/commands-win32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/qga/commands-win32.c b/qga/commands-win32.c
index 484cb1c..4fbbad7 100644
--- a/qga/commands-win32.c
+++ b/qga/commands-win32.c
@@ -18,7 +18,7 @@
#include <ws2tcpip.h>
#include <iptypes.h>
#include <iphlpapi.h>
-#ifdef CONFIG_QGA_NTDDSCSI
+#ifdef HAVE_NTDDSCSI
#include <winioctl.h>
#include <ntddscsi.h>
#endif
@@ -474,7 +474,7 @@ void qmp_guest_file_flush(int64_t handle, Error **errp)
}
}
-#ifdef CONFIG_QGA_NTDDSCSI
+#ifdef HAVE_NTDDSCSI
static GuestDiskBusType win2qemu[] = {
[BusTypeUnknown] = GUEST_DISK_BUS_TYPE_UNKNOWN,
@@ -1111,7 +1111,7 @@ GuestDiskInfoList *qmp_guest_get_disks(Error **errp)
return NULL;
}
-#endif /* CONFIG_QGA_NTDDSCSI */
+#endif /* HAVE_NTDDSCSI */
static GuestFilesystemInfo *build_guest_fsinfo(char *guid, Error **errp)
{