X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/db9b7dcedb001b942ad945a56b2d7bf9b77d7a6a..58c840dcc1810bfc5a7334fe29058d2b2c97cdaf:/unix/uxser.c diff --git a/unix/uxser.c b/unix/uxser.c index 454d7b36..24b0124c 100644 --- a/unix/uxser.c +++ b/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;