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:
balrog 2008-09-30 23:31:35 +00:00
parent 9d56d2dce6
commit 2e9b08e59e
2 changed files with 25 additions and 18 deletions

View File

@ -24,6 +24,7 @@
#include "sysemu.h"
#include "net.h"
#ifndef _WIN32
# include <errno.h>
# include <sys/ioctl.h>
# include <sys/uio.h>
@ -196,3 +197,11 @@ struct HCIInfo *bt_host_hci(const char *id)
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

View File

@ -25,8 +25,6 @@
#include "net.h"
#include "hw/bt.h"
#include <sys/uio.h>
#define VHCI_DEV "/dev/vhci"
#define VHCI_UDEV "/dev/hci_vhci"