1
0
mirror of https://github.com/UzixLS/picocom.git synced 2025-07-19 07:21:18 +03:00

Better build support for custom baudrates

For some systems (OSes, versions, architectures) custom-baudrate
support is enabled by default.

For others, support may work, but must be enabled by defining
USE_CUSTOM_BAUD in the Makefile

You can also disable custom baudrate support altogether (even for
systems where it's enabled by default), by defining NO_CUSTOM_BAUD in
the Makefile
This commit is contained in:
Nick Patavalis
2018-01-16 03:46:09 +02:00
parent e41aeb84ac
commit 8ca2e5a10f
6 changed files with 95 additions and 21 deletions

View File

@ -23,6 +23,8 @@
* USA
*/
#include "custbaud.h"
#if defined(__linux__) && defined(USE_CUSTOM_BAUD)
#include <linux/version.h>