From: Heiga Z. <hei...@us...> - 2007-10-16 02:21:42
|
Update of /cvsroot/sp-tk/SPTK/src/bin/vq In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv11613/src/bin/vq Modified Files: vq.c _vq.c Log Message: Arrange spaces for macros. Wrap strrchr() by rindex() if string.h does not exist. Index: vq.c =================================================================== RCS file: /cvsroot/sp-tk/SPTK/src/bin/vq/vq.c,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** vq.c 9 Oct 2007 10:07:08 -0000 1.15 --- vq.c 16 Oct 2007 02:21:08 -0000 1.16 *************** *** 81,90 **** #include <stdio.h> #include <stdlib.h> ! #include <string.h> #if defined(WIN32) ! #include "SPTK.h" #else ! #include <SPTK.h> #endif --- 81,99 ---- #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: _vq.c =================================================================== RCS file: /cvsroot/sp-tk/SPTK/src/bin/vq/_vq.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** _vq.c 8 Oct 2007 16:49:36 -0000 1.8 --- _vq.c 16 Oct 2007 02:21:08 -0000 1.9 *************** *** 68,74 **** #if defined(WIN32) ! #include "SPTK.h" #else ! #include <SPTK.h> #endif --- 68,74 ---- #if defined(WIN32) ! # include "SPTK.h" #else ! # include <SPTK.h> #endif |