From 33920fe3e0477cef1beda59d0ea47f4344be8d26 Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Mon, 16 Nov 2015 19:03:12 +0100 Subject: 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 --- changelog.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'changelog.md') diff --git a/changelog.md b/changelog.md index c3d43df..0f69383 100644 --- a/changelog.md +++ b/changelog.md @@ -4,6 +4,8 @@ * Don't assume non-POSIX `WCOREDUMP(x)` macro exists + * Don't assume existence of termios constants beyond `B38400` + ## 2.7.1.0 *Dec 2014* * Bundled with GHC 7.10.1 -- cgit v1.2.3