From 2dd7aba1e86c41df9512b46584ef41f94ab92924 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 16 Jan 2007 19:26:24 +0000 Subject: [PATCH] Add more ifdefs to make uxser.c compile on OS X. [originally from svn r7118] --- unix/uxser.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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;