From: Heiga Z. <hei...@us...> - 2007-10-16 02:21:39
|
Update of /cvsroot/sp-tk/SPTK/src/bin/fft In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv11613/src/bin/fft Modified Files: _fft.c fft.c Log Message: Arrange spaces for macros. Wrap strrchr() by rindex() if string.h does not exist. Index: _fft.c =================================================================== RCS file: /cvsroot/sp-tk/SPTK/src/bin/fft/_fft.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** _fft.c 8 Oct 2007 16:49:29 -0000 1.9 --- _fft.c 16 Oct 2007 02:20:58 -0000 1.10 *************** *** 69,75 **** #if defined(WIN32) ! #include "SPTK.h" #else ! #include <SPTK.h> #endif --- 69,75 ---- #if defined(WIN32) ! # include "SPTK.h" #else ! # include <SPTK.h> #endif Index: fft.c =================================================================== RCS file: /cvsroot/sp-tk/SPTK/src/bin/fft/fft.c,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** fft.c 9 Oct 2007 17:35:57 -0000 1.19 --- fft.c 16 Oct 2007 02:20:58 -0000 1.20 *************** *** 74,83 **** #include <stdlib.h> #include <math.h> ! #include <string.h> #if defined(WIN32) ! #include "SPTK.h" #else ! #include <SPTK.h> #endif --- 74,92 ---- #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 |