Fix linux_scan_devices() in Android
authorVinicius Tinti <vinicius.tinti@almg.gov.br>
Mon, 7 Oct 2019 11:24:17 +0000 (08:24 -0300)
committerNathan Hjelm <hjelmn@google.com>
Thu, 31 Oct 2019 02:04:54 +0000 (19:04 -0700)
commit211d79185120519ca9c436855d3b7406359e793b
treedefde150600bc6c9e591bbe6be1d084cd0fdf16f
parente924b8fccf6ed74ac911bb5a8b4c3cb9679334b0
Fix linux_scan_devices() in Android

Use linux_default_scan_devices() in Android platform.

When building for Android the USE_UDEV is false and __ANDROID__ is true
resulting in no implementation for linux_scan_devices(). This commit fix
it by using linux_default_scan_devices() for Android.

Closes #637

Signed-off-by: Vinicius Tinti <vinicius.tinti@almg.gov.br>
Signed-off-by: Nathan Hjelm <hjelmn@google.com>
libusb/os/linux_usbfs.c
libusb/version_nano.h