From: Heiga Z. <hei...@us...> - 2007-10-16 02:21:25
|
Update of /cvsroot/sp-tk/SPTK/src/bin/delay In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv11613/src/bin/delay Modified Files: delay.c Log Message: Arrange spaces for macros. Wrap strrchr() by rindex() if string.h does not exist. Index: delay.c =================================================================== RCS file: /cvsroot/sp-tk/SPTK/src/bin/delay/delay.c,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** delay.c 9 Oct 2007 10:07:14 -0000 1.20 --- delay.c 16 Oct 2007 02:21:21 -0000 1.21 *************** *** 75,84 **** #include <stdio.h> #include <stdlib.h> ! #include <string.h> #if defined(WIN32) ! #include "SPTK.h" #else ! #include <SPTK.h> #endif --- 75,93 ---- #include <stdio.h> #include <stdlib.h> ! ! #ifdef HAVE_STRING_H ! # include <string.h> ! #else ! # include <strings.h> ! # ifndef HAVE_STRRCHR ! # define strrchr rindex ! # endif ! #endif ! #if defined(WIN32) ! # include "SPTK.h" #else ! # include <SPTK.h> #endif |