From: Simon Tatham Date: Tue, 16 Jan 2007 19:26:24 +0000 (+0000) Subject: Add more ifdefs to make uxser.c compile on OS X. X-Git-Tag: r8855-g4f798d~312 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;ds=sidebyside;h=551294ebb6a6811a14b01010b0c50a21610cc040;p=PuTTY_svn.git Add more ifdefs to make uxser.c compile on OS X. git-svn-id: http://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;