Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compile with libc's without cispeed / cospeed
Some libc implementations (e.g. musl) do not define the cispeed and cospeed struct termios fields. So we have to check the _HAVE_STRUCT_TERMIOS_C_ISPEED and _HAVE_STRUCT_TERMIOS_C_OSPEED macros. If not defined, we disable custom baudrate support.
- Loading branch information