From: Heiga Z. <hei...@us...> - 2007-10-16 02:21:34
|
Update of /cvsroot/sp-tk/SPTK/src/bin/ifft In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv11613/src/bin/ifft Modified Files: _ifft.c ifft.c Log Message: Arrange spaces for macros. Wrap strrchr() by rindex() if string.h does not exist. Index: _ifft.c =================================================================== RCS file: /cvsroot/sp-tk/SPTK/src/bin/ifft/_ifft.c,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** _ifft.c 8 Oct 2007 16:49:27 -0000 1.12 --- _ifft.c 16 Oct 2007 02:20:53 -0000 1.13 *************** *** 63,69 **** #if defined(WIN32) ! #include "SPTK.h" #else ! #include <SPTK.h> #endif --- 63,69 ---- #if defined(WIN32) ! # include "SPTK.h" #else ! # include <SPTK.h> #endif Index: ifft.c =================================================================== RCS file: /cvsroot/sp-tk/SPTK/src/bin/ifft/ifft.c,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** ifft.c 9 Oct 2007 10:07:05 -0000 1.17 --- ifft.c 16 Oct 2007 02:20:54 -0000 1.18 *************** *** 71,80 **** #include <stdlib.h> #include <math.h> ! #include <string.h> #if defined(WIN32) ! #include "SPTK.h" #else ! #include <SPTK.h> #endif --- 71,89 ---- #include <stdlib.h> #include <math.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 |