mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
Disable bluetooth proxy compilation on win32.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5365 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
9d56d2dce6
commit
2e9b08e59e
2 changed files with 25 additions and 18 deletions
|
@ -24,6 +24,7 @@
|
||||||
#include "sysemu.h"
|
#include "sysemu.h"
|
||||||
#include "net.h"
|
#include "net.h"
|
||||||
|
|
||||||
|
#ifndef _WIN32
|
||||||
# include <errno.h>
|
# include <errno.h>
|
||||||
# include <sys/ioctl.h>
|
# include <sys/ioctl.h>
|
||||||
# include <sys/uio.h>
|
# include <sys/uio.h>
|
||||||
|
@ -196,3 +197,11 @@ struct HCIInfo *bt_host_hci(const char *id)
|
||||||
|
|
||||||
return &s->hci;
|
return &s->hci;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
struct HCIInfo *bt_host_hci(const char *id)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "qemu: bluetooth passthrough not supported (yet)\n", errno);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
|
@ -25,8 +25,6 @@
|
||||||
#include "net.h"
|
#include "net.h"
|
||||||
#include "hw/bt.h"
|
#include "hw/bt.h"
|
||||||
|
|
||||||
#include <sys/uio.h>
|
|
||||||
|
|
||||||
#define VHCI_DEV "/dev/vhci"
|
#define VHCI_DEV "/dev/vhci"
|
||||||
#define VHCI_UDEV "/dev/hci_vhci"
|
#define VHCI_UDEV "/dev/hci_vhci"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue