summaryrefslogtreecommitdiff
path: root/tools/check-usb-chip.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-24 21:03:56 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-24 21:03:56 +0200
commit58912f68c2489bcee787599837447e0d64dfd61a (patch)
treedda50aadde35fe152da1a8d50769987ace0f1496 /tools/check-usb-chip.c
parentcfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (diff)
New upstream version 1.0.27upstream/1.0.27
Diffstat (limited to 'tools/check-usb-chip.c')
-rw-r--r--tools/check-usb-chip.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/check-usb-chip.c b/tools/check-usb-chip.c
index e851855..50b3e88 100644
--- a/tools/check-usb-chip.c
+++ b/tools/check-usb-chip.c
@@ -28,7 +28,7 @@
#include "../include/sane/config.h"
-#ifdef HAVE_LIBUSB
+#ifdef HAVE_LIBUSB_LEGACY
#include "../include/sane/sane.h"
#include <stdio.h>
@@ -1408,7 +1408,7 @@ check_gl646 (struct usb_device *dev)
return "GL646";
}
-/* Same as check_gl646, except that sanity check are different. */
+/* Same as check_gl646, except that sanity checks are different. */
static char *
check_gl646_hp (struct usb_device *dev)
{
@@ -3430,9 +3430,9 @@ check_usb_chip (struct usb_device *dev, int verbosity, SANE_Bool from_file)
return chip_name;
}
-#endif /* HAVE_LIBUSB */
+#endif /* HAVE_LIBUSB_LEGACY */
-#ifdef HAVE_LIBUSB_1_0
+#ifdef HAVE_LIBUSB
#include <libusb.h>
@@ -4335,4 +4335,4 @@ check_usb_chip (int verbosity,
libusb_release_interface (hdl, 0);
return chip_name;
}
-#endif /* HAVE_LIBUSB_1_0 */
+#endif /* HAVE_LIBUSB */