From: Heiga Z. <hei...@us...> - 2007-10-16 02:21:38
|
Update of /cvsroot/sp-tk/SPTK/src/bin/msvq In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv11613/src/bin/msvq Modified Files: _msvq.c msvq.c Log Message: Arrange spaces for macros. Wrap strrchr() by rindex() if string.h does not exist. Index: _msvq.c =================================================================== RCS file: /cvsroot/sp-tk/SPTK/src/bin/msvq/_msvq.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** _msvq.c 8 Oct 2007 16:49:29 -0000 1.8 --- _msvq.c 16 Oct 2007 02:20:57 -0000 1.9 *************** *** 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: msvq.c =================================================================== RCS file: /cvsroot/sp-tk/SPTK/src/bin/msvq/msvq.c,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** msvq.c 9 Oct 2007 10:07:11 -0000 1.16 --- msvq.c 16 Oct 2007 02:20:57 -0000 1.17 *************** *** 86,95 **** #include <ctype.h> #include <stdlib.h> ! #include <string.h> #if defined(WIN32) ! #include "SPTK.h" #else ! #include <SPTK.h> #endif --- 86,104 ---- #include <ctype.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 |