diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-06-16 08:41:38 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-06-16 08:41:38 (GMT) |
commit | f755b5bc0f22bd10d16b623470e5251a385dfebd (patch) | |
tree | 35bf8788eb041d04584b406a457a32470f03e98c /unix | |
parent | a84a510b3a4fa2f439ab53e964e067d28cef7257 (diff) | |
parent | dda7ee5603bfed26364783231cedbed74a4fb600 (diff) | |
download | tcl-f755b5bc0f22bd10d16b623470e5251a385dfebd.zip tcl-f755b5bc0f22bd10d16b623470e5251a385dfebd.tar.gz tcl-f755b5bc0f22bd10d16b623470e5251a385dfebd.tar.bz2 |
Fix [e770d92d76]: Add support for higher baud rates in Tcl
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tclUnixChan.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c index a1fe090..b4b2739 100644 --- a/unix/tclUnixChan.c +++ b/unix/tclUnixChan.c @@ -988,6 +988,39 @@ static const struct {int baud; speed_t speed;} speeds[] = { #ifdef B460800 {460800, B460800}, #endif +#ifdef B500000 + {500000, B500000}, +#endif +#ifdef B576000 + {576000, B576000}, +#endif +#ifdef B921600 + {921600, B921600}, +#endif +#ifdef B1000000 + {1000000, B1000000}, +#endif +#ifdef B1152000 + {1152000, B1152000}, +#endif +#ifdef B1500000 + {1500000,B1500000}, +#endif +#ifdef B2000000 + {2000000, B2000000}, +#endif +#ifdef B2500000 + {2500000,B2500000}, +#endif +#ifdef B3000000 + {3000000,B3000000}, +#endif +#ifdef B3500000 + {3500000,B3500000}, +#endif +#ifdef B4000000 + {4000000,B4000000}, +#endif {-1, 0} }; |