]> sigrok.org Git - libserialport.git/commit
Fix the build on NetBSD/OpenBSD/FreeBSD, possibly others.
authorUwe Hermann <redacted>
Tue, 26 Nov 2013 07:12:15 +0000 (08:12 +0100)
committerUwe Hermann <redacted>
Tue, 26 Nov 2013 15:00:53 +0000 (16:00 +0100)
commitc3e0509275d9991495789a3c3ab1cbbe605edeac
tree4b41e31a6165423a04e34204253f5f3f6f8eeaaf
parentbccc7c9fa0f00b762392438bea16d4672a984526
Fix the build on NetBSD/OpenBSD/FreeBSD, possibly others.

Various termios flags used in sp_open() are Linux-specific (or even
specific to certain architectures / drivers) and not available on all
OSes (and/or versions or kernels thereof).

Thus, #ifdef out flags that we know might not be available everywhere.
serialport.c