Fix compile error on FreeBSD
This commit is contained in:
parent
b1a7ca3b60
commit
15eea61a47
|
@ -159,6 +159,7 @@
|
||||||
/* Portability fixes for FreeBSD. */
|
/* Portability fixes for FreeBSD. */
|
||||||
#ifdef __FreeBSD__
|
#ifdef __FreeBSD__
|
||||||
#define LIBUSB_CLASS_APPLICATION 0xfe
|
#define LIBUSB_CLASS_APPLICATION 0xfe
|
||||||
|
#define libusb_has_capability(x) 0
|
||||||
#define libusb_handle_events_timeout_completed(ctx, tv, c) \
|
#define libusb_handle_events_timeout_completed(ctx, tv, c) \
|
||||||
libusb_handle_events_timeout(ctx, tv)
|
libusb_handle_events_timeout(ctx, tv)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue