summaryrefslogtreecommitdiffstats
path: root/usbmuxd/usb-linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'usbmuxd/usb-linux.c')
-rw-r--r--usbmuxd/usb-linux.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/usbmuxd/usb-linux.c b/usbmuxd/usb-linux.c
index 2d6053e..c09cdc9 100644
--- a/usbmuxd/usb-linux.c
+++ b/usbmuxd/usb-linux.c
@@ -33,17 +33,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
33#include "log.h" 33#include "log.h"
34#include "device.h" 34#include "device.h"
35 35
36#ifndef LIBUSB_TRANSFER_ZERO_PACKET
37#warning Your libusb is missing proper Zero Length Packet support!
38#warning
39#warning If you are using a recent libusb Git, things may or may not work.
40#warning If you are using libusb 1.0.2 or earlier, things will definitely not work
41#warning properly.
42#warning
43#warning Please apply the patch in the contrib/ directory to your libusb 1.0 tree.
44#define EXPLICIT_ZLP_TRANSACTION
45#endif
46
47// interval for device connection/disconnection polling, in milliseconds 36// interval for device connection/disconnection polling, in milliseconds
48// we need this because there is currently no asynchronous device discovery mechanism in libusb 37// we need this because there is currently no asynchronous device discovery mechanism in libusb
49#define DEVICE_POLL_TIME 1000 38#define DEVICE_POLL_TIME 1000