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