From: Heiga Z. <hei...@us...> - 2007-10-16 02:21:34
|
Update of /cvsroot/sp-tk/SPTK/src/bin/pitch In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv11613/src/bin/pitch Modified Files: pitch.c _pitch.c Log Message: Arrange spaces for macros. Wrap strrchr() by rindex() if string.h does not exist. Index: pitch.c =================================================================== RCS file: /cvsroot/sp-tk/SPTK/src/bin/pitch/pitch.c,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** pitch.c 9 Oct 2007 10:07:02 -0000 1.24 --- pitch.c 16 Oct 2007 02:20:57 -0000 1.25 *************** *** 88,97 **** #include <stdio.h> #include <stdlib.h> ! #include <string.h> #if defined(WIN32) ! #include "SPTK.h" #else ! #include <SPTK.h> #endif --- 88,106 ---- #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 Index: _pitch.c =================================================================== RCS file: /cvsroot/sp-tk/SPTK/src/bin/pitch/_pitch.c,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** _pitch.c 8 Oct 2007 16:49:29 -0000 1.13 --- _pitch.c 16 Oct 2007 02:20:57 -0000 1.14 *************** *** 74,80 **** #if defined(WIN32) ! #include "SPTK.h" #else ! #include <SPTK.h> #endif --- 74,80 ---- #if defined(WIN32) ! # include "SPTK.h" #else ! # include <SPTK.h> #endif |