Don't assume existence of termios constants beyond `B38400`
authorHerbert Valerio Riedel <hvr@gnu.org>
Mon, 16 Nov 2015 18:03:12 +0000 (19:03 +0100)
committerHerbert Valerio Riedel <hvr@gnu.org>
Mon, 16 Nov 2015 18:08:12 +0000 (19:08 +0100)
commit33920fe3e0477cef1beda59d0ea47f4344be8d26
treec27188b7fbeaf532bc6ff94abead7274dbe8e88f
parentcd061c04b9239fcc68c43ed439331e1a41e5e22a
Don't assume existence of termios constants beyond `B38400`

This patch does not modify the `BaudRate` structure but rather causes
some functions taking a `BaudRate` to throw exceptions on systems which
don't provide `B57600` and/or `B115200`. I'm not totally happy with this
patch yet, but this unbreaks compilation on platforms which don't define
at least of these constants.

This fixes #51
System/Posix/Terminal/Common.hsc
changelog.md