summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorChris Dickens <christopher.a.dickens@gmail.com>2020-09-15 14:15:00 -0700
committerChris Dickens <christopher.a.dickens@gmail.com>2020-11-10 14:13:12 -0800
commitf69548c3b3340f3e4d9d6f6192451e533ccb2b70 (patch)
treec500604d062f8d667f1fa66bc3446878e651e94e /android
parent851ff404003a26c1e3428b9a1332227173cc124b (diff)
downloadlibusb-f69548c3b3340f3e4d9d6f6192451e533ccb2b70.tar.gz
examples: Enable all examples to build on all platforms
Prior to this change, the dpfp and sam3u_benchmark examples were only built on POSIX platforms due to a dependency on sigaction(). Furthermore the dpfp_threaded example only worked with POSIX threads. Lift this limitation by breaking the dependence on sigaction(). Also provide a minimal threading abstraction so that dpfp_threaded can be built on Windows as well. Also merge the sources for dpfp and dpfp_threaded. The only difference between the two is how libusb's event handling functions are called and this can be easily handled within a single source file. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'android')
0 files changed, 0 insertions, 0 deletions