]> sigrok.org Git - libsigrok.git/commitdiff
Fix compile error on FreeBSD
authorUffe Jakobsen <redacted>
Tue, 30 Dec 2014 23:32:44 +0000 (00:32 +0100)
committerUwe Hermann <redacted>
Mon, 5 Jan 2015 21:16:48 +0000 (22:16 +0100)
src/libsigrok-internal.h

index a8d680ebcf45266ee1f5fcb902b8cc67cfd6de4c..bd2d4c74b268e1ccf400dc58feff6bb40ac57084 100644 (file)
 /* Portability fixes for FreeBSD. */
 #ifdef __FreeBSD__
 #define LIBUSB_CLASS_APPLICATION 0xfe
+#define libusb_has_capability(x) 0
 #define libusb_handle_events_timeout_completed(ctx, tv, c) \
        libusb_handle_events_timeout(ctx, tv)
 #endif