diff options
| author | Steve M. Robbins <smr@sumost.ca> | 2001-09-30 06:02:01 +0000 |
|---|---|---|
| committer | Steve M. Robbins <smr@sumost.ca> | 2001-09-30 06:02:01 +0000 |
| commit | 2478fb88dfc5c0e1673d094b4cbd3a7fdf21b95b (patch) | |
| tree | d7b28260d22b99b514715897109bad825310072d /include/cppunit/Portability.h | |
| parent | 6bad8616c4007a6e2e994fd8d334395ebb397287 (diff) | |
| download | cppunit-2478fb88dfc5c0e1673d094b4cbd3a7fdf21b95b.tar.gz | |
Documentation tweaks. Add config-mac.h
Diffstat (limited to 'include/cppunit/Portability.h')
| -rw-r--r-- | include/cppunit/Portability.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cppunit/Portability.h b/include/cppunit/Portability.h index d4a0652..52d26bc 100644 --- a/include/cppunit/Portability.h +++ b/include/cppunit/Portability.h @@ -42,8 +42,6 @@ /* Define CPPUNIT_SSTREAM as a stream with a "std::string str()" * method. */ -#include <string> - #if CPPUNIT_HAVE_SSTREAM # include <sstream> namespace CppUnit { @@ -51,11 +49,13 @@ } #else #if CPPUNIT_HAVE_CLASS_STRSTREAM +# include <string> # if CPPUNIT_HAVE_STRSTREAM # include <strstream> # else # include <strstream.h> # endif + namespace CppUnit { class OStringStream : public std::ostrstream { |
