mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00: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
|
||||
| ONLCR
|
||||
#endif
|
||||
| OCRNL | ONOCR | ONLRET);
|
||||
#ifdef OCRNL
|
||||
| OCRNL
|
||||
#endif
|
||||
#ifdef ONOCR
|
||||
| ONOCR
|
||||
#endif
|
||||
#ifdef ONLRET
|
||||
| ONLRET
|
||||
#endif
|
||||
);
|
||||
options.c_cc[VMIN] = 1;
|
||||
options.c_cc[VTIME] = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user