Update of /cvsroot/pure-data/externals/iem/comport/comport In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21035
Modified Files: comport.c Log Message: Mac OS X less than 10.4 doesn't have some of these macros, so test for them before using them
Index: comport.c =================================================================== RCS file: /cvsroot/pure-data/externals/iem/comport/comport/comport.c,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** comport.c 9 Jul 2006 19:50:37 -0000 1.17 --- comport.c 31 Jul 2006 03:12:37 -0000 1.18 *************** *** 722,731 **** --- 722,735 ---- error("[comport] out of memory for "%s"",x->serial_device_name); break; + #ifdef GLOB_ABORTED case GLOB_ABORTED: error("[comport] aborted "%s"",x->serial_device_name); break; + #endif + #ifdef GLOB_NOMATCH case GLOB_NOMATCH: error("[comport] no serial devices found for "%s"",x->serial_device_name); break; + #endif } if(com_num < glob_buffer.gl_pathc)