From: Tom H. <tom...@us...> - 2003-03-25 17:24:56
|
Update of /cvsroot/rccparser/rccserializer/src In directory sc8-pr-cvs1:/tmp/cvs-serv23797/src Modified Files: rcconlinecoachserializer.cpp Log Message: 2003-03-25 Tom Howard <tom...@us...> * Initial code import Index: rcconlinecoachserializer.cpp =================================================================== RCS file: /cvsroot/rccparser/rccserializer/src/rcconlinecoachserializer.cpp,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** rcconlinecoachserializer.cpp 25 Mar 2003 17:03:02 -0000 1.1.1.1 --- rcconlinecoachserializer.cpp 25 Mar 2003 17:24:50 -0000 1.2 *************** *** 27,32 **** #include <rcssserver/clangmsg.h> #include <sstream> ! namespace rcc --- 27,35 ---- #include <rcssserver/clangmsg.h> + #ifdef HAVE_SSTREAM #include <sstream> ! #else ! #include <strstream> ! #endif namespace rcc *************** *** 65,69 **** --- 68,76 ---- { output() << "(team_graphic (" << x << " " << y; + #ifdef HAVE_SSTREAM std::istringstream values( xpm[ 0 ] ); + #else + std::istrstream values( xpm[ 0 ] ); + #endif unsigned int width = 0, height = 0, colors = 0; values >> width >> height >> colors; |