From ec63619f611c7246247485ae3d27818aa2aa1dbd Mon Sep 17 00:00:00 2001 From: Hector Martin Date: Mon, 24 Aug 2009 17:59:35 +0200 Subject: ZLP flag is an enum, move check into CMake. Now prints the big fat warning at configure time --- usbmuxd/usb-linux.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'usbmuxd/usb-linux.c') 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 #include "log.h" #include "device.h" -#ifndef LIBUSB_TRANSFER_ZERO_PACKET -#warning Your libusb is missing proper Zero Length Packet support! -#warning -#warning If you are using a recent libusb Git, things may or may not work. -#warning If you are using libusb 1.0.2 or earlier, things will definitely not work -#warning properly. -#warning -#warning Please apply the patch in the contrib/ directory to your libusb 1.0 tree. -#define EXPLICIT_ZLP_TRANSACTION -#endif - // interval for device connection/disconnection polling, in milliseconds // we need this because there is currently no asynchronous device discovery mechanism in libusb #define DEVICE_POLL_TIME 1000 -- cgit v1.1-32-gdbae