diff --git a/headers/tools/cppunit/cppunit/Portability.h b/headers/tools/cppunit/cppunit/Portability.h index 610098aebe..0cd88c8545 100644 --- a/headers/tools/cppunit/cppunit/Portability.h +++ b/headers/tools/cppunit/cppunit/Portability.h @@ -64,7 +64,7 @@ #if CPPUNIT_HAVE_SSTREAM # include namespace CppUnit { - class OStringStream : public ostringstream + class OStringStream : public std::ostringstream { }; } diff --git a/headers/tools/cppunit/cppunit/config-auto.h b/headers/tools/cppunit/cppunit/config-auto.h index 9d3f28a7de..cd6f7c415c 100644 --- a/headers/tools/cppunit/cppunit/config-auto.h +++ b/headers/tools/cppunit/cppunit/config-auto.h @@ -34,7 +34,9 @@ #endif /* define if the compiler has stringstream */ -/* #undef CPPUNIT_HAVE_SSTREAM */ +#ifndef CPPUNIT_HAVE_SSTREAM +#define CPPUNIT_HAVE_SSTREAM 1 +#endif /* Define if you have the header file. */ #ifndef CPPUNIT_HAVE_STRSTREAM