From: Heiga Z. <hei...@us...> - 2007-10-16 02:21:38
|
Update of /cvsroot/sp-tk/SPTK/src/bin/lpc In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv11613/src/bin/lpc Modified Files: lpc.c _lpc.c Log Message: Arrange spaces for macros. Wrap strrchr() by rindex() if string.h does not exist. Index: _lpc.c =================================================================== RCS file: /cvsroot/sp-tk/SPTK/src/bin/lpc/_lpc.c,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** _lpc.c 9 Oct 2007 04:33:30 -0000 1.10 --- _lpc.c 16 Oct 2007 02:20:56 -0000 1.11 *************** *** 73,79 **** #if defined(WIN32) ! #include "SPTK.h" #else ! #include <SPTK.h> #endif --- 73,79 ---- #if defined(WIN32) ! # include "SPTK.h" #else ! # include <SPTK.h> #endif Index: lpc.c =================================================================== RCS file: /cvsroot/sp-tk/SPTK/src/bin/lpc/lpc.c,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** lpc.c 9 Oct 2007 10:07:02 -0000 1.19 --- lpc.c 16 Oct 2007 02:20:56 -0000 1.20 *************** *** 78,87 **** #include <stdio.h> #include <stdlib.h> ! #include <string.h> #if defined(WIN32) ! #include "SPTK.h" #else ! #include <SPTK.h> #endif --- 78,96 ---- #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 |