From: simon Date: Tue, 16 Jan 2007 19:26:24 +0000 (+0000) Subject: Add more ifdefs to make uxser.c compile on OS X. X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/e8c03e4c459322585f89917be8809a4eb6ed424b Add more ifdefs to make uxser.c compile on OS X. git-svn-id: svn://svn.tartarus.org/sgt/putty@7118 cda61777-01e9-0310-a592-d414129be87e --- 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;