mirror of
https://github.com/UzixLS/picocom.git
synced 2025-07-19 07:21:18 +03:00
Changed when to enable custom baud by default
Be very conservative when enabling custom baudrate support (USE_CUSTOM_BAUD) by default. Only enable (by default) on systems where we know it will cause no problems. For other systems the user can try to enable it explicitly (see Makefile). Currently enabled by default on: Linux, Kernel verison > 2.6.0, x86 and x86_64 architectures FreeBSD, OpenBSD, DragonFly BSD
This commit is contained in:
@ -42,8 +42,9 @@
|
||||
|
||||
/* Note that this code might also work with other BSD variants, but I have only
|
||||
* tested with those listed below. Also tested __NetBSD__ but won't work. */
|
||||
#if (defined (__FreeBSD__) || defined (__OpenBSD__) || \
|
||||
defined (__DragonFly__) || defined (__APPLE__)) && \
|
||||
#if (defined (__FreeBSD__) || defined (__NetBSD__) || \
|
||||
defined (__OpenBSD__) || defined (__DragonFly__) || \
|
||||
defined (__APPLE__)) && \
|
||||
defined (USE_CUSTOM_BAUD)
|
||||
|
||||
#include "custbaud_bsd.h"
|
||||
|
Reference in New Issue
Block a user