[Sphere-axis-commits] CVS: axissvr gwhogsvr.cpp,1.27.2.6,1.27.2.7
Brought to you by:
pesterle
From: Philip E. <pes...@us...> - 2004-03-08 17:54:42
|
Update of /cvsroot/sphere-axis/axissvr In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3710 Modified Files: Tag: v0_13-Stable gwhogsvr.cpp Log Message: Fixed the stristr function for linux. Index: gwhogsvr.cpp =================================================================== RCS file: /cvsroot/sphere-axis/axissvr/gwhogsvr.cpp,v retrieving revision 1.27.2.6 retrieving revision 1.27.2.7 diff -C2 -r1.27.2.6 -r1.27.2.7 *** gwhogsvr.cpp 8 Mar 2004 05:46:58 -0000 1.27.2.6 --- gwhogsvr.cpp 8 Mar 2004 17:30:15 -0000 1.27.2.7 *************** *** 76,80 **** --- 76,84 ---- char *stristr( char *pszString, char *pszCharSet) { + #ifdef WIN32 return strstr( _strupr(pszString), _strupr(pszCharSet)); + #else + return strcasestr( pszString, pszCharSet ); + #endif } |