From: Antonio Borneo Date: Mon, 8 Oct 2018 15:41:06 +0000 (+0200) Subject: libusb0: add compatibility define for transfer type bulk X-Git-Tag: v0.11.0-rc1~914 X-Git-Url: https://review.openocd.org/gitweb?a=commitdiff_plain;ds=inline;h=ff5d13a5f8940d8d6e9d097dc10af0dcf6d82f34;hp=ff5d13a5f8940d8d6e9d097dc10af0dcf6d82f34;p=openocd.git libusb0: add compatibility define for transfer type bulk For compatibility with libusb1, define LIBUSB_TRANSFER_TYPE_BULK in libusb0. Remove the #ifdef HAVE_LIBUSB1 in jtag/driver/aice This also fixes a compile error in jtag/drivers/openjtag with libusb0. Change-Id: I827b77eac10216759eb31aab461b2b63cabaf195 Signed-off-by: Antonio Borneo Reviewed-on: http://openocd.zylin.com/4700 Tested-by: jenkins Reviewed-by: Andreas Fritiofson ---