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

#84: Manual control of handshake lines for OpenBsd, NetBsd and Dragonfly

This commit is contained in:
Joe Merten
2018-01-15 20:23:07 +01:00
parent f9e0b4c8a2
commit 7a14651b93
4 changed files with 89 additions and 5 deletions

6
term.c
View File

@ -52,8 +52,10 @@
#define CMSPAR 0
#endif
#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__)
#if defined(__linux__) || \
defined(__FreeBSD__) || defined(__OpenBSD__) || \
defined(__NetBSD__) || defined(__DragonFly__) || \
defined(__APPLE__)
#define USE_IOCTL
#endif
#ifdef USE_IOCTL