Fixed LIBUSB_HOTPLUG_NO_FLAGS definition

libusb documentation is a bit misleading, this flag was
introduced with 1.0.20
This commit is contained in:
Armin Novak 2020-01-13 15:13:35 +01:00
parent 18be21a4fa
commit b5bb6e3ea9
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@
#include "libusb_udevice.h"
#if !defined(LIBUSB_API_VERSION) || (LIBUSB_API_VERSION < 0x01000102)
#if !defined(LIBUSB_HOTPLUG_NO_FLAGS)
#define LIBUSB_HOTPLUG_NO_FLAGS 0
#endif