Hi,

On Wed, Dec 31, 2014 at 12:40:23AM +0100, Uffe Jakobsen wrote:
> This patch is needed for libsigrok to compile without errors on FreeBSD

Yup, something along those lines. Please add that to
src/libsigrok-internal.h though, there's an "#ifdef __FreeBSD__" for
similar portability quirks there already (and it affects more than just
one driver anyway). Not sure if it should be "false" or "true" though
(or just 0/1 to avoid the <stdbool.h> #include), we'll need to check what
exactly FreeBSD's libusb implementation supports and what libsigrok requires
currently. For now hardcoding either 0 or 1 is fine though.


Uwe.
-- 
http://hermann-uwe.de | http://randomprojects.org | http://sigrok.org

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to