#if defined(PEGASUS_PLATFORM_WIN64_IA64_MSVC) || \
    defined(PEGASUS_PLATFORM_WIN64_X86_64_MSVC) || \
    defined(PEGASUS_PLATFORM_WIN32_IX86_MSVC) || \
    defined(PEGASUS_OS_AIX) || \
    defined(PEGASUS_PLATFORM_HPUX_IA64_ACC)
# include <strstream>

# ifndef HAVE_STRSTREAM
#  define HAVE_STRSTREAM 1
# endif

#elif defined(PEGASUS_OS_HPUX)
# include <strstream.h>

# ifndef HAVE_STRSTREAM
#  define HAVE_STRSTREAM 1
# endif

#else
# include <sstream>
# ifndef HAVE_STREAM
#  define HAVE_SSTREAM 1
# endif

#endif
