From: Heiga Z. <hei...@us...> - 2007-10-16 02:21:35
|
Update of /cvsroot/sp-tk/SPTK/src/bin/lpc2lsp In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv11613/src/bin/lpc2lsp Modified Files: _lpc2lsp.c lpc2lsp.c Log Message: Arrange spaces for macros. Wrap strrchr() by rindex() if string.h does not exist. Index: lpc2lsp.c =================================================================== RCS file: /cvsroot/sp-tk/SPTK/src/bin/lpc2lsp/lpc2lsp.c,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** lpc2lsp.c 9 Oct 2007 10:07:11 -0000 1.21 --- lpc2lsp.c 16 Oct 2007 02:20:53 -0000 1.22 *************** *** 92,102 **** #include <stdio.h> #include <stdlib.h> ! #include <string.h> #include <math.h> #if defined(WIN32) ! #include "SPTK.h" #else ! #include <SPTK.h> #endif --- 92,111 ---- #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 ! #include <math.h> #if defined(WIN32) ! # include "SPTK.h" #else ! # include <SPTK.h> #endif Index: _lpc2lsp.c =================================================================== RCS file: /cvsroot/sp-tk/SPTK/src/bin/lpc2lsp/_lpc2lsp.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** _lpc2lsp.c 8 Oct 2007 16:49:27 -0000 1.8 --- _lpc2lsp.c 16 Oct 2007 02:20:53 -0000 1.9 *************** *** 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 |