aboutsummaryrefslogtreecommitdiff
path: root/include/libtio/io
diff options
context:
space:
mode:
authorThomas Touhey <thomas@touhey.fr>2019-04-29 14:34:38 +0200
committerThomas Touhey <thomas@touhey.fr>2019-04-29 14:34:38 +0200
commit06339feadeda7f0237cf3919d68d61439e5c15c2 (patch)
treefa4757026c86c9c21b60d44f0836a1c88cd8540b /include/libtio/io
parent751f742fc8b8be0746b54d45822b9351f8079a64 (diff)
Fixed POSIX building
Diffstat (limited to 'include/libtio/io')
-rw-r--r--include/libtio/io/serial.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libtio/io/serial.h b/include/libtio/io/serial.h
index 12242f2..f659ae8 100644
--- a/include/libtio/io/serial.h
+++ b/include/libtio/io/serial.h
@@ -102,10 +102,12 @@ struct tio_serial_attrs {
# define TIO_DTRDIS 0x0000
# define TIO_DTRENB 0x0008
# define TIO_DTRHAND 0x0018
+# define TIO_DTRNOHAND 0x0000
# define TIO_RTSDIS 0x0000
# define TIO_RTSENB 0x0020
# define TIO_RTSHAND 0x0060
+# define TIO_RTSNOHAND 0x0000
/* The XON/XOFF software control settings.
*
@@ -160,6 +162,8 @@ struct tio_serial_attrs {
# define TIO_SERIALFLAG_XINOUT 6
# define TIO_SERIALFLAG_XOUTIN 6
+# define TIO_SERIALFLAG_DTRRTS 96
+# define TIO_SERIALFLAG_RTSDTR 96
# define TIO_SERIALFLAG_ALL 127
/* ---