Merge branch 'sanei-usb-fix-build-without-usb' into 'master'

sanei_usb: Fix build when USB support is disabled

Closes #123

See merge request sane-project/backends!150
merge-requests/151/merge
Povilas Kanapickas 2019-09-09 21:54:13 +00:00
commit 7e3a68c9e7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -2122,7 +2122,7 @@ sanei_usb_set_endpoint (SANE_Int dn, SANE_Int ep_type, SANE_Int ep)
}
}
#if HAVE_LIBUSB_LEGACY || HAVE_LIBUSB || HAVE_USBCALLS
#if HAVE_LIBUSB_LEGACY || HAVE_LIBUSB || HAVE_USBCALLS || WITH_USB_RECORD_REPLAY
static const char* sanei_usb_transfer_type_desc(SANE_Int transfer_type)
{
switch (transfer_type)