-// $Header: /cvs/public/gdcm/src/Attic/gdcmHeader.cxx,v 1.117 2003/11/13 18:08:34 jpr Exp $
+// $Header: /cvs/public/gdcm/src/Attic/gdcmHeader.cxx,v 1.118 2003/11/13 18:49:08 malaterre Exp $
#include "gdcmHeader.h"
#include <netinet/in.h>
#endif
#include <cctype> // for isalpha
-#include <sstream>
+
+#ifdef GDCM_NO_ANSI_STRING_STREAM
+# include <strstream>
+# define ostringstream ostrstream
+# else
+# include <sstream>
+#endif
+
#include "gdcmUtil.h"
#include "gdcmTS.h"
s << NewInt;
}
}
- }
- s << '\0'; // to avoid oddities on Solaris
+ }
+ s << std::ends; // to avoid oddities on Solaris
ElVal->SetValue(s.str());
return;
}