1
0
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:
Simon Tatham 2007-01-16 19:26:24 +00:00
parent 174bb7f1fd
commit 2dd7aba1e8

View File

@ -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;