From f69548c3b3340f3e4d9d6f6192451e533ccb2b70 Mon Sep 17 00:00:00 2001 From: Chris Dickens Date: Tue, 15 Sep 2020 14:15:00 -0700 Subject: 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 --- examples/testlibusb.c | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 examples/testlibusb.c (limited to 'examples/testlibusb.c') diff --git a/examples/testlibusb.c b/examples/testlibusb.c old mode 100755 new mode 100644 -- cgit v1.2.1