mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05:00
Add more ifdefs to make uxser.c compile on OS X.
[originally from svn r7118]
This commit is contained in:
parent
174bb7f1fd
commit
2dd7aba1e8
11
unix/uxser.c
11
unix/uxser.c
@ -214,7 +214,16 @@ static const char *serial_configure(Serial serial, Config *cfg)
|
|||||||
#ifdef ONLCR
|
#ifdef ONLCR
|
||||||
| ONLCR
|
| ONLCR
|
||||||
#endif
|
#endif
|
||||||
| OCRNL | ONOCR | ONLRET);
|
#ifdef OCRNL
|
||||||
|
| OCRNL
|
||||||
|
#endif
|
||||||
|
#ifdef ONOCR
|
||||||
|
| ONOCR
|
||||||
|
#endif
|
||||||
|
#ifdef ONLRET
|
||||||
|
| ONLRET
|
||||||
|
#endif
|
||||||
|
);
|
||||||
options.c_cc[VMIN] = 1;
|
options.c_cc[VMIN] = 1;
|
||||||
options.c_cc[VTIME] = 0;
|
options.c_cc[VTIME] = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user