]> xenbits.xensource.com Git - qemu-xen-4.6-testing.git/commitdiff
bt-host.c: Indirect disabling via NO_BLUETOOTH_PASSTHROUGH
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 23 Oct 2008 15:11:23 +0000 (16:11 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 23 Oct 2008 15:11:23 +0000 (16:11 +0100)
We set NO_BLUETOOTH_PASSTHROUGH on _WIN32.  This allows other
configurations to disable it too.  (Eg, Xen stubdomains.)

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
bt-host.c

index 042a55e47e6a10079df838f5aa964be2a209633a..0110ff538e49d24296f4115fe27ed56476012f14 100644 (file)
--- a/bt-host.c
+++ b/bt-host.c
 #include "sysemu.h"
 #include "net.h"
 
-#ifndef _WIN32
+#ifdef _WIN32
+#define NO_BLUETOOTH_PASSTHROUGH
+#endif
+
+#ifndef NO_BLUETOOTH_PASSTHROUGH
 # include <errno.h>
 # include <sys/ioctl.h>
 # include <sys/uio.h>